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

1456 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
  • How do teams automate document and PDF generation directly inside Dynamics 365?
  • Enable logging for the AutoMergeAzure Plugin for Dynamics 365 Online
  • Can DocumentsCorePack automate documents directly inside Dynamics 365 at scale?
  • What are the safest and fastest ways to automate document creation in Dynamics 365?
  • Why do document errors and inconsistencies increase as teams scale in Dynamics 365?
  • “Recipients not found” warning when using One-Click-Action
Latest Articles
  • How do teams automate document and PDF generation directly inside Dynamics 365?
  • Enable logging for the AutoMergeAzure Plugin for Dynamics 365 Online
  • Why Microsoft partners standardize on a single Dynamics 365 storage solution
  • Can DocumentsCorePack automate documents directly inside Dynamics 365 at scale?
  • Recap: Directions North America 2026
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* 76
  • Webinars 48
  • Template Designer(DCP 197
  • DocumentsCorePack(DCP 272
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 80
  • 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
  • Cookies
  • © 2025 www.mscrm-addons.com. All Rights Reserved.