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

1311 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
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In (Beta)
  • 3 Ways DocumentsCorePack Transforms Proposal, Quote, and Contract Creation
  • DeepSign for DocumentsCorePack 
  • Generate and send a document for e-signing using DeepSign
  • How to prepare a document for DeepSign
Latest Articles
  • What Happens After You Deploy AttachmentExtractor: Storage & Cost Savings in Dynamics 365
  • Deploying DocumentsCorePack: Setup, Automation, and Real Business Impact in Dynamics365
  • Introducing the DocumentsCorePack Template Designer Office Add-In (Beta)
  • How to Eliminate Excess Storage Costs in Microsoft Dynamics 365 Without Losing Access to Emails and Attachments
  • 3 Ways DocumentsCorePack Transforms Proposal, Quote, and Contract Creation
Popular Articles
  • DocumentsCorePack Template Designer – Getting Started
  • Step-by-Step: How to configure a One-Click-Action
  • Application Access for Dynamics 365
  • How to find your environment’s unique name in Microsoft Dynamics 365
  • How licenses are counted
Top Rated Articles
  • “Undefined”-labels in Chrome and Edge 114 and higher
  • Important information for Dynamics 365 online customers using DocumentsCorePack and/or AttachmentExtractor
  • How to activate the DocumentsCorePack Connector for PowerApps & Microsoft Flow
  • How to insert Condition Fields in DocumentsCorePack Templates designer
  • How licenses are counted
Categories
  • *News and General Infos* 64
  • Webinars 45
  • Template Designer(DCP 196
  • DocumentsCorePack(DCP 258
  • TelephoneIntegration (TI 65
  • AttachmentExtractor (AE 75
  • 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.