Workflow Example: Send E-mail to Contact

This workflow starts by having the user select a contact. The workflow then extracts the e-mail addresses associated with that contact and counts them up.

If no e-mail addresses were found a message is displayed to the user and the workflow terminates there.

If multiple e-mail addresses are found then the is asked to choose just one of the addresses from the list of those available. If the contact had only one e-mail address, that is effectively selected automatically.

The workflow then opens up an e-mail composition sheet with the To address populated with the contact’s e-mail address. Note that “Nothing” is passed in as the input. This is because the input is the body of the message. You could of course pass anything in. For example you could grab a name from the contact and automatically add that to the start of the e-mail.

Tags: | workflow |