Email – Attach Document

The ‘Email – Attach Document’ activity lets you specify filters on how to find an attachment, and if there’s a match, attaches the document to an email. The file that is updated is the most recently created note to match the criteria. The activity will look for the file on the entity which the workflow is running.

Examples:

  • An account workflow generates an document from a Word Template then email it to the primary contact.

Input Parameters

Parameter Name Type Description Default
Email to Attach Files Lookup (Email) The email to attach the file to {null}
Filename must contain… (optional) Text If you want to match some or all of a filename. Does not accept wildcards, it’s a Contains match. Ex: .docx or Account Summary {null}
Only as far back as {value} Whole Number The numeric part of how recent a note has to be created in order to be considered. Ex: 5 minutes, 3 days, 2 years. 5
Only as far back as {units} Option Set The term part of how recent a note has to be created in order to be considered. Ex: 5 minutes, 3 days, 2 years. Minutes

Output Parameters

Parameter Name Type Description
Document Has Been Attached Boolean Indicates if a file has been attached to the email.