mscrm-addons.com logomscrm-addons.com logo
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
  • Release History
  • Knowledge Base
  • Documentation
  • Contact Support
home/Knowledge Base/DocumentsCorePack(DCP)/How to attach a document from SharePoint to an email in a workflow

How to attach a document from SharePoint to an email in a workflow

1375 views 0 Updated on December 18, 2022

This article describes how to attach a SharePoint document to an email in a workflow with DocumentsCorePack (DCP). For more information on how to create a workflow, please read this article here.

After creating your workflow, you will be provided with the window where you can define the steps of your process.

Step 1: Create Email

Create an e-mail by using the Create Record step. Open the drop-down menu and select e-mail. By hitting the [Set properties] button you can define the properties of this step. For more information on how to create an e-mail, please read this blog article here.

Create an e-mail with the Create Record step.
Figure 1: Create Email

Step 2: Create MSCRM-ADDONS.com AutoMergeWorkingItems

To make sure that the SharePoint document will be uploaded to the e-mail properly, create a MSCRM-ADDONS.com AutoMergeWorkingItem. To do this, add a new step with the [Add Step] button and select Create Record.

Click the [Set Properties] button and enter as follows:

❶ Name: Type in the name of your newly created step – a name that will remind you of what it contains. 

❷ AutoMergeAction: Open the drop-down menu and select AttachToEntity. Select this option to attach a created document to any Microsoft Dynamics 365 standard and/or custom entity.

❸ PrimaryRecordUrl: Insert the PrimaryRecordUrl here by using the Form Assistant on the right side (highlighted). A description of how to set a PrimaryRecordUrl field can be found in this blog article. 

❹ EntityToAttach (Record URL (Dynamic)): Set the cursor in this field and select Create Email (Email) in the Form Assistant on the right side.

❺ SharePoint URL: Insert your SharePoint URL here, which can be dynamic or static.

After defining the properties, save your newly created process and do not forget to activate it in the My Processes section by hitting the ❻ [Activate] button in the command bar.

Save and activate the process.
Figure 2: Create MSCRM-ADDONS.com AutoMergeWorkingItems

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

Was this helpful?

Yes  No
Related Articles
  • Security issues when installing DocumentsCorePack (Defender)
  • Locating Raw Inputs and Outputs in Power Automate
  • Step by Step: How to execute an OCA in a Power Automate flow 
  • Stop Losing Time & Money: How Manual Document Processes Hurt Your Business
  • Debugging the Template Design Office Add-In 
  • Updating Legacy SharePoint Connections 
Latest Articles
  • mscrm-addons.com: 2025 Year in Review
  • Security issues when installing DocumentsCorePack (Defender)
  • AttachmentExtractor: Bandwidth & Performance – FAQ 
  • Recap: Power Platform Community Conference 2025
  • Recap: Community Summit 2025
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How licenses are counted
  • How to find your environment’s unique name in Microsoft Dynamics 365
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • How to insert Condition Fields in DocumentsCorePack Templates designer
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack Connector for PowerApps & Microsoft Flow
  • How licenses are counted
Categories
  • *News and General Infos* 70
  • Webinars 46
  • Template Designer(DCP 197
  • DocumentsCorePack(DCP 264
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 76
  • PowerSearch (PS 50
  • ActivityTools (AT 61
  • SmartBar (SB 54
  • GroupCalendar (GC 47
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
  • © 2025 www.mscrm-addons.com. All Rights Reserved.