• Release History
  • Documentation
  • Back to www.mscrm-addons.com
  • Release History
  • Documentation
  • Back to www.mscrm-addons.com
home/Knowledge Base/DocumentsCorePack(DCP)/Create a document and attach it to an email in a single AutoMerge workflow-step

Create a document and attach it to an email in a single AutoMerge workflow-step

594 views 1 Updated on July 27, 2022

This blog article outlines how to create a document and attach it to an email in a single AutoMerge workflow-step for MS CRM 2013 Online.

First open your CRM and go to “Settings” > “Processes” and create a “New” workflow:

image

Figure 1: Create new workflow

In the next window type in a “Process Name” e.g. “Test_Workflow”, choose the “Entity” for which you want to create the workflow for e.g. “Account”. Set the “Category” to “Workflow” in order to create a new workflow process. Click on “OK” to confirm.

image

Figure 2: Create a new process

First, the email has to be created. Therefore click on the “Add Step”-drop-down-button and choose “Create Record”. Type in a name for your step e.g. “Create Email” and set the “Create:” to “Email”. Then click on “Set Properties”.

image

Figure 3: create a record in AutoMerge Workflows.

An email activity opens. In this window, a sender, a subject and an email text has to be defined. Set the cursor in the “Recipient”-field to define the recipient. To do so, select “Look for: Account” in the “Form Assistant”-area on the right sight, click on “Add” and then on “OK”. Now the “Recipient”-field is filled out correctly. Follow the same instructions for the “Regarding”-field, in order to set the regarding entity. E.g: “Account”.

image

Figure 4: window to configure an email activity.

Click on “Save and Close”.

The second step would be to create a new MSCRM-ADDONS.com AutoMerge Working item, where the document is generated and attached to the email. To do this, add a new step with click on “Add Step” and choose “Create Record”. Type in a step description and set “Create:” to “MSCRM-ADDONS.com AutoMergeWorkingItems”

image

Figure 5: Add a MSCRM-ADDONS.com AutoMerge Working item.step

Click on “Set Properties”. In the next window type in a name and define the AutoMerge-action. E.g. “CreateDocument”. It it important to insert the “PrimaryRecordsUrl”. For that, set the cursor in the “PrimaryRecordUrl”-field and go to the “Look for:”-area within the form assistant on the right side and select “Record URL(Dynamics) from the second drop-down-menu, click on “Add” and “OK”.

To determine the Template to be executed, set your curser in the “TemplateToExecute” field and look for it. Next to this, a file format has do be defined. E.g “pdf”. In the “TemplateToExecute”-field search for the document that should be attached. E.g. “Account_Overview_DOCX.docx”. Next set the cursor in the “EmailToAttach”-field and go to the “Look for:”-area within the form assistant on the right side and select “Create Email (Email)”. Click on “Save and Close”. (See next screenshot)

image

Figure 6: workflow-step configuration. E.g. Create and attach a document to an email message.

Now your workflow is finished and ready to be used. The possible result could look like this:

image

Figure 7: Shows email workflow with pdf-document attached. Click to enlarge.

That’s it! We appreciate your feedback! Please share your thoughts by sending an email to support@mscrm-addons.com.

Was this helpful?

1 Yes  No
Related Articles
  • AssureSign for DocumentsCorePack
  • How to conditionally remove a watermark in DocumentsCorePack templates
  • Document Processing with DocumentsCorePack (DCP)
  • How to activate SharePoint in DocumentsCorePack
  • Fillable PDF forms
  • Document concatenation in DocumentsCorePack 
Latest Articles
  • New DocumentsCorePack Connector features for Power Automate
  • Office Theme Support of DocumentsCorePack
  • AssureSign for DocumentsCorePack
  • Dynamic Document Properties
  • How to conditionally remove a watermark in DocumentsCorePack templates
Popular Articles
  • Where do I find the Unique Organization name in Microsoft Dynamics 365?
  • DocumentsCorePack Online Service Configuration
  • mscrm-addons.com Application Access for Dynamics 365 (App Access) – DocumentsCorePack
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
Top Rated Articles
  • IMPORTANT information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack connector for PowerApps & Microsoft Flow
  • Step-by-Step: How to configure a One-Click-Action
  • Online Services: Required Application Permissions
  • How licenses are counted
Categories
  • *News and General Infos* 51
  • Webinars 35
  • Template Designer(DCP 173
  • DocumentsCorePack(DCP 191
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 62
  • PowerSearch (PS 48
  • ActivityTools (AT 59
  • SmartBar (SB 53
  • GroupCalendar (GC 46
Our Vision

“We see it as our purpose to provide products that simplify and speed up our customers’ Microsoft Dynamics 365 experience.”

Knowledgebase
LogIn
mscrm-addons.com
  • Products
  • Online Shop
  • Downloads
  • My Account
About Us
  • About Us
  • Case Studies
  • Newsletter
  • Partner Program
  • Contact
Support
  • Support
  • Terms & Conditions
  • Documentation
  • Webinars
  • Legal Documents
  • Impressum
  • © 2022 www.mscrm-addons.com. All Rights Reserved.