--- title: "Dynamics 365 EasySend Two-Way Integration" slug: "dynamics-365-easysend-two-way-integration" updated: 2024-09-23T15:00:09Z published: 2024-09-23T15:00:09Z canonical: "kb.easysend.io/dynamics-365-easysend-two-way-integration" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.easysend.io/llms.txt > Use this file to discover all available pages before exploring further. # Dynamics 365 EasySend Two-Way Integration ## Background The following document describes how to perform two-way integration between Dynamics 365 and EasySend. ## Data Prefill: from Dynamics 365 to a Digital Process The following sections describe how to prefill a digital process with data from Dynamics 365. ### Step 1: Creating Dynamics 365 Resource (See **Figure 1** to **Figure 7**) To create a Dynamics 365 resource using the Services screen, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1727103597722.png) **Figure 1: Integrate Tab and Services Option** 1. On the Builder platform, open the required environment. 2. Click the **Integrate** tab (1). 3. Click the **Services** option (2). *Result:* The **Services** screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1694087739691.png) **Figure 2: Resources** 1. Click **Resources** (3). - *Result:* Additional options appear: **Figure 3: Dataverse Option and + Create Button** 1. Click **Dataverse** (4). 2. Click the **+ Create** button (5). *Result:* The **New Dataverse Connection** window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663679118622.png) **Figure 4: New Dataverse Connection Window** 1. According to your needs, select a resource (6): - For Secret, provide the following information : ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663680117722.png) **Figure 5: Secret Resource** - Dataverse Resource Name, free text no restrictions - Tenant ID (Directory) that you copied and saved during the application user setup - Client ID (Application) that you copied and saved during the application user setup - Secret - the value that you copied and saved during the application user setup - Resource - the URL of your Dynamics 365 environment - Date Format - For Certificate, provide the following information : ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663680126252.png) **Figure 6: Certificate Resource** - Dataverse Resource Name, free text no restrictions - Tenant ID (Directory) that you copied and saved during the application user setup - Client ID (Application) that you copied and saved during the application user setup - Certificate File - Resource - the URL of your Dynamics 365 environment - Date Format 1. When you are done, click the **Save** button (7). *Result:* The new Dataverse resource is added (8): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1666679799624.png) **Figure 7: New added Dataverse Resource** ### Step 2: Creating an Integration - Adding a New Step (See **Figure 8** to **Figure 16**) To add a new integration step, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1666679838800.png) **Figure 8: Integrations** 1. Click **Integrations** (1). *Result:* The **+ Create** button appears (2): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663680930602.png) **Figure 9: + Create Button** 1. Click the **+ Create** button (2). *Result:* The following screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657108670693.png) **Figure 10: Add a new step Button** 1. Enter a **Service name** (3). 2. Click the **Add a new step** button (4). 3. A list of steps appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663681186439.png) **Figure 11: Dataverse** 1. Locate and click **Dataverse** (5). *Result:* The following window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657108720933.png) **Figure 12: Name your Step** 1. Enter a **Name** (6). 2. Click the **Continue** button (7). *Result:* The following screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663681468259.png) **Figure 13: Dataverse Resource** 1. Click and select the Dataverse resource (8) created in [Step 1: Creating Dynamic 365 Resource](/v1/docs/dynamics-365-easysend-two-way-integration#step-1-creating-dynamics-365-resource). *Result:* The **Object | Record Type** section appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663681711729.png) **Figure 14: account** 1. Enter the **Object |****Record Type** - **a****ccount** (9). NOTEThe information provided here is case sensitive. *Result:* The **Query Type** dropdown (10) appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663681894637.png) **Figure 15: Query Type - Select** 1. Click the **Query Type** dropdown (10) and click **Select** (11). *Result:* The **Search/Select criteria** (12) and the **Output** (13) sections appear: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663682017802.png) **Figure 16: Search/Select criteria and the Output Sections** ### Step 3: Configuring the New Step - Search/Select criteria (See **Figure 17** and **Figure 18**) This section contains the fixed Dataverse record ID (**dataverseRecordId**) that connects the relevant Dynamics 365 object (account) to EasySend. To add a new search/select criteria perform, the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663682412833.png) **Figure 17: + Add New Button** 1. Click the **+ Add New** button (1). *Result:* A new search/select criteria line appears (2): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663682914137.png) **Figure 18: New Search/Select criteria Line** 1. Enter a **Field Name** (3) - accountid. NOTEThe information provided here is case-sensitive. 1. Click the **Operator** dropdown (4) and select the operator Is. 2. Click the **Select Source** dropdown (5) and Select Metadata. 3. Enter the value **dataverse****.dataverseRecordId** (6). ### Step 4: Configuring the New Step - Output (See **Figure 19** to **Figure 21**) To add new outputs from Dynamic 365, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663683076860.png) **Figure 19: + Add new Output button** 1. Click the **+ Add new Output** button (1). *Result:* A new output line appears (2): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663683214363.png) **Figure 20: New Output Line** 1. Enter an **Output Name** (3). NOTEThe information provided here is case-sensitive. 1. Click the dropdown and select an **Output Type** (4). 2. Repeat steps **1** to **3,** as necessary. *Result:* All the outputs are added (5): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663685525165.png) **Figure 21: Added Outputs** ### Working with Multiple Records When adding a record that is multiple (array) it is mandatory to specify it by checking the is Multiple checkbox and by selecting one of the options found under the Behavior settings section: - Select All - Select First Created - Select Last Created - Select Last Modified - Select All (Legacy) The difference between Select All and Select All (Legacy) is in the data structure of the returned records: For Select All (Legacy): ```javascript { "firstname": { [ "Ronny", "Dana" ] }, "lastname": { [ "Riback", "Robbins" ] }, "email": { [ "r.riback@easysend.io", "d.robbins@easysend.io" ] } } ``` For Selecting All: ```javascript { [ "firstname": "Ronny", "lastname": "Riback", "email": "r.riback@easysend.io" ], [ "firstname": "Dana", "lastname": "Robbins", "email": "d.robbins@easysend.io" ] } ``` ### NOTEFor additional information about using the Select All option, click [here](/v1/docs/july-2023-dataverse-and-salesforce-multiple-records). ### Step 5: Adding Outputs (See **Figure 22** to **Figure 26**) To add a new output, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663685678975.png) **Figure 22: Outputs** 1. Click **Outputs** (1). *Result:* The **Outputs** screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663685927157.png) **Figure 23: + Add new Output** 1. Click the + **Add new Output** button (2). *Result:* A new output line appears (3): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663686057643.png) **Figure 24: + A new Output Line** 1. Enter a **Field Name** (4). 2. Click the **Output Type** dropdown (5) and select the output type. 3. Click the **Select Source** dropdown (6) and select Model. *Result:* The new output line is configured (7): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663748817096.png) **Figure 25: + Model Value** 1. Enter a Model value - starting with name of the new step created in [Step 2: Creating an Integration - Adding a New Step](/v1/docs/dynamics-365-easysend-two-way-integration#step-2-creating-an-integration-adding-a-new-step) followed by a dot (.) and one of its outputs as described in [Step 4: Configuring the New Step - Output](/v1/docs/dynamics-365-easysend-two-way-integration#step-4-configuring-the-new-step-output), for example: **dynamicPrefill.firstName**. 2. Repeat steps **2** to **6** until all the outputs are added, for example: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663749000509.png) **Figure 26: Added Input Step Outputs** ### Step 6: Services Screen Deployment (See **Figure 27** to **Figure 29**) To publish the changes made in Steps 1 to 5, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663749017572.png) **Figure 27: < Back to services** 1. Click **< Back to services** (1). *Result:* The **Services** main screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663686645314.png) **Figure 28: Deployment** 1. Click the **Deploy** button (2) and select the appropriate environment (3). 2. Wait until the deployment process is over as indicated by the indicator (4). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670396701514.png) **Figure 29: Deployment successful** ### Step 7: Workflow Manager Configuration (See **Figure 30** to **Figure 37)** To configure the Workflow Manager, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657111719715.png) **Figure 30: + Add New Step Button and Integration** 1. Click the **+ Add New Step** button (1) and click **Integration** (2). *Result:* The **Service Lookup** window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663686887650.png) **Figure 31: Select an Integration** 1. Click the **Select an Integration** dropdown (3) and select the integration (4) created in [Step 2: Creating an Integration - Adding a New Step](/v1/docs/dynamics-365-easysend-two-way-integration#step-2-creating-an-integration-adding-a-new-step). *Result:* A list of outputs that were added in [](/v1/docs/salesforce-easysend-two-way-integration#step-5-adding-outputs)[Step 5: Adding Outputs](/v1/docs/dynamics-365-easysend-two-way-integration#step-5-adding-outputs) appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657111742332.png) **Figure 32: Connecting Outputs to the Model** 1. Connect each output to its appropriate data item in the Model (5). *Result:* All outputs are connected to the Model: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657111758108.png) **Figure 33: OK Button** 1. Click the **OK** button (6). *Result:* The integration is added to the workflow (7): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663750510948.png) **Figure 34: Added Integration** 1. Hold and drag (8) the added integration and place it on top as number 1. NOTEOnly hold and drag the integration in case prefill is needed, and not every integration service. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663750556742.png) **Figure 35: Hold and Drag** 1. Click the **Deploy** button (9) and select the appropriate environment (10). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663750631410.png) **Figure 36: Deployment Process** 1. Wait until the deployment process is over as indicated by the indicator (11). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670396810820.png) **Figure 37: Deployment successful** ### Step 8 (Optional): Validations Deployment (See **Figure 38** to **Figure 40**) NOTEDeploy from the Validations screen is only necessary when creating a new process and we want it to be available on Dynamics 365. To publish changes from the Validations screen, perform the following steps: **![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670396872821.png)** **Figure 38: Build Tab -> Validations** 1. Click the **Build** tab (1). 2. Click **Validations** (2). *Result:* The **Validations** screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670396913013.png) **Figure 39: Deployment Process** 1. Click the **Deploy** button (3) and select the appropriate environment (4). 2. Wait until the deployment process is over as indicated by the indicator (5). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670396939324.png) **Figure 40: Deployment successful** ### Step 9: Digital Process Deployment Open the desired digital process and perform the deployment process. Verify that the selected environment matches the environment selected in Steps [6](/v1/docs/dynamics-365-easysend-two-way-integration#step-6-services-screen-deployment), [7](/v1/docs/dynamics-365-easysend-two-way-integration#step-7-workflow-manger-configuration), and [8](/v1/docs/dynamics-365-easysend-two-way-integration#step-8-optional-validations-deployment). ### Step 10: Sending an EasySend Link from Dynamics 365 (See **Figure 41** and **Figure 42**) From your Dynamics 365 environment, access an account (1). Click the **EasySend Link** button (2) and follow the instructions on the screen. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663751391944.png) **Figure 41: Dynamic 365 Account** ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663751489342.png) **Figure 42: Selecting a Digital Process** ## Trigger Email and SMS sending from Dynamic 365 The following sections describe how to trigger Email and SMS sending from Dynamic 365. ### Step 1: Trigger Email Sending (See **Figure 43** to **Figure 46**) To trigger Email sending from Dynamic 365, perform the following steps: 1. Navigate to the **Workflow Manager** screen. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663753187983.png) **Figure 43: Configure Button** 1. Click the **Configure** button (1) of the relevant step. NOTEThe configuration will always be done on the Webflow step, and not the Service step. *Result:* The following window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113454742.png) **Figure 44: Adding a New Output** 1. Click the **+ Add New Output** button (2) and click **Email** (3). *Result:* New email output is added: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113476895.png) **Figure 45: Editing Email Output** 1. Click the **Edit** button (4). *Result:* The **Email Details** window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663753601392.png) **Figure 46: Email Details Window** 1. Locate the Recipients (5). 2. Verify the appropriate environment (6) is selected. 3. Add the following recipient: **metadata.dataverse.triggerEmail** (7). 4. Configure the rest of the email details. 5. Click **< Save & Back to Step Configuration** (8). *Result:* The changes are saved, and the Email Details window is closed. ### Step 2: Trigger SMS Sending (See **Figure 47** to **Figure 49**) To trigger SMS sending from Dynamics 365, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113570307.png) **Figure 47: Adding a New Output** 1. Click the **+ Add New Output** button (1) and click **SMS** (2). *Result:* New SMS output is added: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113581555.png) **Figure 48: Editing SMS Output** 1. Click the **Edit** button (3). *Result:* The **SMS Details** window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663753884568.png) **Figure 49: SMS Details Window** 1. Locate the Recipients (4). 2. Verify the appropriate environment (5) is selected. 3. Add the following recipient: **metadata.dataverse.triggerPhone** (6). 4. Configure the rest of the SMS details. 5. Click **< Save & Back to Step Configuration** (7). *Result:* The changes are saved, and the SMS Details window is closed. ### Step 3: Workflow Manager Deployment Publish the changes made to the workflow manager by clicking the Deploy button and selecting the appropriate environment. ### Step 4: Adding Email and SMS Information on Dynamic 365 (See **Figure 50**) After clicking the EasySend Link button on the Dynamic 365 account, select the digital process (1) add the desired Email address (2), the desired phone number (3) for SMS, and click the **Send Link** button (4). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663754110092.png) **Figure 50: Adding Email Address and Phone Number** NOTEThe checkboxes for the Email and SMS must be checked. ## Updating Dynamic 365: From a Digital Process to Dynamic 365 The following sections describe how to update Dynamic 365 data from a digital process. ### Step 1: Creating an Integration - Adding a New Step (See **Figure 51** to **Figure 59**) To add a new step, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657107774315.png) **Figure 51: Integrate Tab and Services Option** 1. On the Builder platform, open the relevant environment. 2. Click the **Integrate** tab (1). 3. Click the **Services** option (2). *Result:* The Services screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663754330081.png) **Figure 52: + Create Button** 1. Click the **+ Create** button (3). *Result:* The following screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113815180.png) **Figure 53: Add a new step Button** 1. Enter a **Service name** (4). 2. Click the **Add a new step** button (5). 3. A list of steps appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663754539799.png) **Figure 54: Dataverse** 1. Locate and click **Dataverse** (6). *Result:* The following window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113857924.png) **Figure 55: Name your Step** 1. Enter a **Name** (7). 2. Click the **Continue** button (8). *Result:* The following screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663755044733.png) **Figure 56: Dataverse Resource** 1. Click and select the Dataverse resource (9) created in [](/v1/docs/dynamics-365-easysend-two-way-integration#step-1-creating-dynamics-365-resource)[Step 1: Creating Dynamic 365 Resource.](/v1/docs/dynamics-365-easysend-two-way-integration#step-1-creating-dynamics-365-resource) *Result:* The **Object | Record Type** section appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663755120417.png) **Figure 57: account** 1. Enter the **Object |****Record Type** - **a****ccount** (10). NOTEThe information provided here is case-sensitive. *Result:* The **Query Type** dropdown (11) appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663755365224.png) **Figure 58: Query Type - Update** 1. Click the **Query Type** dropdown (11) and click **Update** (12). *Result:* The **Search/Select criteria** (13), **Update Criteria** (14), and **Output** (15) sections appear: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663755550637.png) **Figure 59: Search/Select criteria and the Output Sections** ### Step 2: Configuring the New Step - Search/Select criteria (See **Figure 60** to **Figure 62**) This section contains the Dataverse record ID that connects the relevant Dynamic 365 object (account) to EasySend. To add a new search/select criteria perform, the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663755807070.png) **Figure 60: + Add New Button** 1. Click the **+ Add New** button (1). *Result:* A new search/select criteria line appears (2): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663756214527.png) **Figure 61: New Search/Select criteria Line** 1. Enter a **Field Name** (3) - Id. NOTEThe information provided here is case-sensitive. 1. Click the **Operator** dropdown (4) and select the operator Is. 2. Click the **Select Source** dropdown (5) and select Metadata. 3. Enter the value (6) **dataverse****.dataverseRecordId**. ### Step 3: Configuring the New Step - Update Criteria (See **Figure 62** to **Figure 70**) To add a new update criteria, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663756378955.png) **Figure 62: + Add New Button** 1. Click the **+ Add New** button (1). *Result:* A new update criteria line appears (2): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663756525043.png) **Figure 63: New Line** 1. Enter a **Column Name** (3). NOTEUnder the Column Name, use the Dataverse outputs that were created in [Step 4: Configuring the New Step - Output](/v1/docs/dynamics-365-easysend-two-way-integration#step-4-configuring-the-new-step-output). 1. Click the **Select Source** dropdown (4) and Select Model. *Result:* The new update criteria line is configured (5): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663756781721.png) **Figure 64: Inputs** 1. Click **Inputs** (6). *Result:* The **Inputs** screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663756857826.png) **Figure 65: Inputs Screen** 1. Click the **+ Add new Input** button (7). *Result:* A new input line (8) is added: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663756951062.png) **Figure 66: New Input Line** 1. Enter an **Input Name** (9). 2. Select an **Input Type** (10). *Result:* The input line (11) is configured: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663757065872.png) **Figure 67: Input Line** 1. Return to the Step (12). *Result:* The Update Criteria section appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663757193043.png) **Figure 68: New Value** 1. On the output line under **Value** (13) enter the input name created in step **6** in the following format: inputs.Input Name, for example: **inputs.FirstName** (14). 2. Repeat steps **1** to **9** until all Dynamics 365 outputs that were created in [Step 4: Configuring the New Step - Output](/v1/docs/dynamics-365-easysend-two-way-integration#step-4-configuring-the-new-step-output) are added. At the end of this Step, the **Inputs** screen and the **Update Criteria** section contain the exact number of manually added inputs (15) and outputs (16), for example: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663757404427.png) **Figure 69: Added Inputs** ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663757656557.png) **Figure 70: Added Outputs** ### Step 4: (Optional) Insert Data to Dynamic 365 From a Digital Process The following sections describe how to insert data to Dynamic 365 from a digital process. #### Step 4a: Adding a New Insert Step (See **Figure 71** to **Figure 77**) To add a new insert step, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663757882622.png) **Figure 71: Add a new step Button** 1. Click the **Add a new step** button (1). 2. A list of steps appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663757977419.png) **Figure 72: Dataverse** 1. Locate and click **Dataverse** (2). *Result:* The following window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115459480.png) **Figure 73: Name your Step** 1. Enter a **Name** (3). 2. Click the **Continue** button (4). *Result:* The following screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663758146103.png) **Figure 74: Dynamic 365 Resource** 1. Click and select the Dataverse resource (5) created in [Step 1: Creating Dynamic Resource](/v1/docs/dynamics-365-easysend-two-way-integration#step-1-creating-dynamics-365-resource)[](/v1/docs/dynamics-365-easysend-two-way-integration#step-1-creating-dynamics-365-resource). *Result:* The **Object | Record Type** section appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663758815296.png) **Figure 75: contact** 1. Enter the **Object |****Record Type** - **contact** (6). NOTEThe information provided here is case-sensitive. *Result:* The **Query Type** dropdown (7) appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663759198062.png) **Figure 76: Query Type - Insert** 1. Click the **Query Type** dropdown (7) and click **Insert** (8). *Result:* The **Insert criteria** (9) and the **Output** (10) sections appear: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663759438343.png) **Figure 77: Insert criteria and the Output Sections** #### Step 4b: Configuring the New Step – Insert Criteria (See **Figure 78** to **Figure 80**) To configure the insert criteria, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663760625978.png) **Figure 78: lastname** 1. Set the **lastname** (1) by selecting a source (2) and value (3). 2. Click the **+ Add New** button (4). *Result:* A new insert line (5) is added: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663760787997.png) **Figure 79: New Insert Line** 1. Enter the **Column Name** - **contacti****d** (6), set the source to **Model** (7), and enter the value **dynamicUpdate****.dataverseRecordId** (8). NOTEThe information provided here is case-sensitive. 1. Click the **+ Add New** button and add additional columns, for each added column select and add the source and value, for example (9): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663761325991.png) **Figure 80: Additional Column** ### Step 5: Services Screen Deployment To publish the changes made in Steps 1,2, and 3, return to the Services screen, click the Deploy button, and select the appropriate environment. ### Step 6: Workflow Manager Configuration (See **Figure 81** to **Figure 87**) To configure the Workflow Manager, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670397063787.png) **Figure 81: + Add New Step Button and Integration** 1. Click the **+ Add New Step** button (1) and click **Integration** (2). *Result:* The **Service Lookup** window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663761824702.png) **Figure 82: Select an Integration** 1. Click the **Select an Integration** dropdown (3) and select the integration (4) created in [](/v1/docs/salesforce-easysend-two-way-integration#step-1-creating-an-integration-adding-a-new-step)[Step 1: Creating an Integration - Adding a New Step.](/v1/docs/dynamics-365-easysend-two-way-integration#step-1-creating-an-integration-adding-a-new-step) *Result:* A list of inputs that were added in [](/v1/docs/salesforce-easysend-two-way-integration#step-3-configuring-the-new-step-update-criteria)[Step 3: Configuring the New Step - Update Criteria](/v1/docs/dynamics-365-easysend-two-way-integration#step-3-configuring-the-new-step-update-criteria) appear: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115614121.png) **Figure 83: Connecting Outputs to the Model** 1. Connect each input to its appropriate data item in the Model (5). *Result:* All inputs are connected to the Model: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115623730.png) **Figure 84: OK Button** 1. Click the **OK** button (6). *Result:* The integration is added to the workflow: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670397389701.png) **Figure 85: Added Integration** 1. Click the **Deploy** button (8) and select the appropriate environment (9). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670397487417.png) **Figure 86: Deployment Process** 1. Wait until the deployment process is over as indicated by the indicator (10). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670397563951.png) **Figure 87: Deployment successful** #### Step 7: Sending an EasySend Link from Dynamic 365 (See **Figure 88**) From your Dynamic 365 environment, access an account (1). Click the **EasySend Link** button (2) and follow the instructions on the screen. Once the digital process is submitted, relevant data according to the configurations made in Steps 1 to 5 is updated and inserted inside Dynamic 365 (account and contact). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663762356035.png) **Figure 88: Dynamics 365 Account** ### Insert Attachments Into Dynamics 365 From a Digital Process The following sections describe how to insert attachments to Dynamics 365 from a digital process. #### Step 1: Add a File Input (See **Figure 89** to **Figure 92**) To add a file input, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657107774315.png) **Figure 89: Integrate Tab and Services Option** 1. On the Builder platform, open the relevant environment. 2. Click the **Integrate** tab (1). 3. Click the **Services** option (2). *Result:* The Services screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663763027824.png) **Figure 90: Update Integration** 1. Click the update integration you created in [Step 1: Creating an Integration - Adding a New Step](/v1/docs/dynamics-365-easysend-two-way-integration#step-1-creating-an-integration-adding-a-new-step) (3). *Result:* The following screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663763228519.png) **Figure 91: + Add new Input** 1. Click **Add a new Input** button (4). *Result:* A new input line (5) appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663763482851.png) **Figure 92: New Input Line** 1. Enter the **Input Name** (6). 2. Select the **Input Type** (7) - **File**. ### Step 2: Configure the Update Integration (See **Figure 93** to **Figure 95**) To configure the update integration, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663763720734.png) **Figure 93: Update Integration** 1. Click the update integration you created in [Step 1: Creating an Integration - Adding a New Step](/v1/docs/dynamics-365-easysend-two-way-integration#step-1-creating-an-integration-adding-a-new-step) (1). 2. Scroll down to the **Files to Upload** section. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663764084100.png) **Figure 94: + Add File Button** 1. Click the **+ Add File** button (2). *Result:* A new file selector (3) appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1663764285514.png) **Figure 95: File to Upload** 1. Select the source - **Model** (4). 2. Select the input, for example, **inputs.File** (5). NOTEIn your Dynamics 365 environment, files that were uploaded through the digital process are located under: **Summary** -> **TIMELINE** -> **Notes** (for accounts and contacts). **![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1686221672657.png)** ### Step 3: Services Screen Deployment To publish the changes made in Steps 1 and 2, return to the Services screen, click the Deploy button and select the appropriate environment. ### Step 4: Workflow Manager Configuration (See **Figure 96** to **Figure 99**) To configure the Workflow Manager, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670397600018.png) **Figure 96: Configure** 1. Click the **Configure** button (1) of the update integration. *Result:* The **Service Lookup** window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657116716813.png) **Figure 97: Service Lookup Window** 1. Select the source of the file - **Model** (2). 2. Set the Model data item (3). 3. Click the OK button (4). *Result:* The **Workflow Manager** screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670397632826.png) **Figure 98: Deployment Process** 1. Click the **Deploy** button (5) and select the appropriate environment (6). 2. Wait until the deployment process is over as indicated by the indicator (7). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670397705411.png) **Figure 99: Deployment successful** ### Step 5: Sending an EasySend Link from Dynamics 365 (See **Figure 100**) From your Dynamics 365 environment, access an account (1). Click the **EasySend Link** button (2) and follow the instructions on the screen. Once the digital process is submitted, relevant data according to the configurations made in Steps 1 to 5 is updated and inserted inside Dynamics 365 (account, contact, and attachments). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1666680325739.png) **Figure 100: Dynamics 365 Account**