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.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>