--- title: "Salesforce EasySend Two-Way Integration" slug: "salesforce-easysend-two-way-integration" updated: 2025-10-16T13:27:51Z published: 2025-10-16T13:27:51Z canonical: "kb.easysend.io/salesforce-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. # Salesforce EasySend Two-Way Integration ## Background The following document outlines the process for performing two-way integration between Salesforce and EasySend. Warning! This article applies exclusively to EasySend’s old Webflow version. If you are using Journeys, skip this article. ## Data Prefill: from Salesforce to a Digital Process The following sections describe how to prefill a digital process with data from Salesforce. ### Step 1: Creating Salesforce Resource (See **Figure 1** to **Figure 5**) To create a Salesforce resource using the Services screen, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1727103571776.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-1694087519160.png) **Figure 2: Resources** 1. Click **Resources** (3). - *Result:* Additional options appear: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1694087681825.png) **Figure 3: Salesforce Option and + Create Button** 1. Click **Salesforce** (4). 2. Click the **+ Create** button (5). *Result:* The **New Salesforce Connection** window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1745193008907.png) **Figure 4: New Salesforce Connection Window** 1. Enter a **Salesforce Resource Name** (6), free text with no restrictions. 2. Click the **Select Date Format** dropdown (8) and select a date format. NOTEIf you are creating a testing environment, check the **Sandbox** checkbox (7) 1. Click the **Auth** button (9). *Result:* The Salesforce login window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1745193294834.png) **Figure 5: Salesforce Login Window** 1. Enter a **Username** (10). 2. Enter a **Password** (11). 3. Click the log in button (12). NOTEIf the credentials are approved, a new Salesforce resource will be created after clicking the log-in button. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1745252611259.png) ### Step 2: Creating an Integration - Adding a New Step (See **Figure 6** to **Figure 14**) To add a new integration step, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670395666826.png) **Figure 6: Integrations** 1. Click **Integrations** (1). *Result:* The **+ Create** button appears (2): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670396007649.png) **Figure 7: + 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 8: 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-1657108682240.png) **Figure 9: Salesforce Service** 1. Locate and click **Salesforce Service** (5). *Result:* The following window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657108720933.png) **Figure 10: 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-1657108734049.png) **Figure 11: Salesforce Resource** 1. Click and select the Salesforce resource (8) created in [Step 1: Creating Salesforce Resource](/v1/docs/salesforce-easysend-two-way-integration#step-1-creating-salesforce-resource). *Result:* The **Object | Record Type** section appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657108766521.png) **Figure 12: Account** 1. Enter the **Object |****Record Type** - **Account** (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-1657108789321.png) **Figure 13: 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-1657108803875.png) **Figure 14: Search/Select criteria and the Output Sections** ### Step 3: Configuring the New Step - Search/Select criteria (See **Figure 15** to **Figure 17**) This section contains the fixed Salesforce record ID **(salesforceRecordId**)that connects the relevant Salesforce 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-1657109359080.png) **Figure 15: + 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-1657109371310.png) **Figure 16: 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. *Result:* The new search/select criteria line is configured (6): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657109391388.png) **Figure 17: Metadata Value** 1. Enter the value (7) **salesforce.salesforceRecordId**. ### Step 4: Configuring the New Step - Output (See **Figure 18** to **Figure 20**) To add new outputs from Salesforce, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657109642004.png) **Figure 18: + Add new Output button** 1. Click the **+ Add new Output** button (1). *Result:* A new Salesforce output line appears (2): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657109659043.png) **Figure 19: New Salesforce Output Line** 1. Enter an **Output Name** (3). NOTEThe information provided here is case-sensitive. 1. Click the dropdown and select an **OutputType** (4). 2. Repeat steps **1** to **3,** as necessary. *Result:* All the Salesforce outputs are added (5): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657109784357.png) **Figure 20: Added Salesforce Outputs** ### Working with Multiple Records When adding a multiple record (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 21** to **Figure 25**) To add a new output, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657110415530.png) **Figure 21: Outputs** 1. Click **Outputs** (1). *Result:* The **Outputs** screen appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657110468349.png) **Figure 22: + 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-1657110482123.png) **Figure 23: + 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-1657110501633.png) **Figure 24: + Model Value** 1. Enter a Model value - starting with the name of the new step created in [Step 2: Creating an Integration - Adding a New Step](/v1/docs/salesforce-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/salesforce-easysend-two-way-integration#step-4-configuring-the-new-step-output), for example: **sFPrefill.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-1657110533619.png) **Figure 25: Added Input Step Outputs** ### Step 6: Services Screen Deployment (See **Figure 26** to **Figure 28**) 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-1657111600881.png) **Figure 26: < 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-1670394695056.png) **Figure 27: 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-1657111703744.png) **Figure 28: Deployment successful** ### Step 7: Workflow Manager Configuration (See **Figure 29** to **Figure 36)** To configure the Workflow Manager, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657111719715.png) **Figure 29: + 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-1657111731039.png) **Figure 30: 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/salesforce-easysend-two-way-integration#step-2-creating-an-integration-adding-a-new-step). *Result:* A list of outputs that were added in [Step 5: Adding Outputs](/v1/docs/salesforce-easysend-two-way-integration#step-5-adding-outputs) appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657111742332.png) **Figure 31: 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 32: 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-1657111769612.png) **Figure 33: 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-1657111793358.png) **Figure 34: 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-1657111835401.png) **Figure 35: 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-1670393022421.png) **Figure 36: Deployment successful** ### Step 8 (Optional): Validations Deployment (See **Figure 37** to **Figure 39**) NOTEDeploy from the Validations screen is only necessary when creating a new process and we want it to be available on Salesforce. To publish changes from the Validations screen, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670393080628.png) **Figure 37: 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-1670393202344.png) **Figure 38: 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-1670393252741.png) **Figure 39: 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/salesforce-easysend-two-way-integration#step-6-services-screen-deployment), [7](/v1/docs/salesforce-easysend-two-way-integration#step-7-workflow-manger-configuration), and [8](/v1/docs/salesforce-easysend-two-way-integration#step-8-optional-validations-deployment). ### Step 10: Sending an EasySend Link from Salesforce (See **Figure 40** and **Figure 41**) From your Salesforce environment, access an account (1). Click the **EasySend Link** button (2) and follow the instructions on the screen. When clicking the link (3) for the digital process it will be displayed with prefilled data from Salesforce. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657111993673.png) **Figure 40: Salesforce Account** ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657112008240.png) **Figure 41: Digital Process Link** ## Trigger Email and SMS sending from Salesforce The following sections describe how to trigger Email and SMS sending from Salesforce. ### Step 1: Trigger Email Sending (See **Figure 42** to **Figure 45**) To trigger Email sending from Salesforce, perform the following steps: 1. Navigate to the Workflow Manager screen. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113416926.png) **Figure 42: 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 43: 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 44: 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-1657113487685.png) **Figure 45: Email Details Window** 1. Locate the Recipients (5). 2. Verify the appropriate environment (6) is selected. 3. Add the following recipient: **metadata.salesforce.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 46** to **Figure 48**) To trigger SMS sending from Salesforce, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113570307.png) **Figure 46: 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 47: 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-1657113591174.png) **Figure 48: SMS Details Window** 1. Locate the Recipients (4). 2. Verify the appropriate environment (5) is selected. 3. Add the following recipient: **metadata.salesforce.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 Salesforce (See **Figure 49**) After clicking the EasySend Link button on the Salesforce 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-1657113717602.png) **Figure 49: Adding Email Address and Phone Number** NOTEThe checkboxes for the Email and SMS must be checked. ## Updating Salesforce: From a Digital Process to Salesforce The following sections describe how to update Salesforce data from a digital process. ### Step 1: Creating an Integration - Adding a New Step (See **Figure 50** to **Figure 58**) To add a new step, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657107774315.png) **Figure 50: 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-1670393334066.png) **Figure 51: + 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 52: 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-1657113826988.png) **Figure 53: Salesforce Service** 1. Locate and click **Salesforce Service** (6). *Result:* The following window appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113857924.png) **Figure 54: 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-1657113957073.png) **Figure 55: Salesforce Resource** 1. Click and select the Salesforce resource (9) created in [](/v1/docs/salesforce-easysend-two-way-integration#step-1-creating-salesforce-resource)[Step 1: Creating Salesforce Resource.](/v1/docs/salesforce-easysend-two-way-integration#step-1-creating-salesforce-resource) *Result:* The **Object | Record Type** section appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657113965520.png) **Figure 56: Account** 1. Enter the **Object |****Record Type** - **Account** (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-1657113976572.png) **Figure 57: 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-1657113993172.png) **Figure 58: Search/Select criteria and the Output Sections** ### Step 2: Configuring the New Step - Search/Select criteria (See **Figure 59** to **Figure 61**) This section contains the Salesforce record ID that connects the relevant Salesforce 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-1657115155222.png) **Figure 59: + 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-1657115171064.png) **Figure 60: 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. *Result:* The new search/select criteria line is configured (6): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115183813.png) **Figure 61: Metadata Value** 1. Enter the value (7) **salesforce.salesforceRecordId**. ### Step 3: Configuring the New Step - Update Criteria (See **Figure 62** to **Figure 70**) To add new update criteria, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115194750.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-1657115205424.png) **Figure 63: New Line** 1. Enter a **Column Name** (3). NOTEUnder the Column Name, use the Salesforce outputs that were created in [](/v1/docs/salesforce-easysend-two-way-integration#step-4-configuring-the-new-step-output)[Step 4: Configuring the New Step - Output.](/v1/docs/salesforce-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-1657115217774.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-1657115227106.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-1657115236312.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-1657115247164.png) **Figure 67: Input Line** 1. Return to Step (12). *Result:* The Update Criteria section appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115256805.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 Salesforce outputs that were created in [Step 4: Configuring the New Step - Output](/v1/docs/salesforce-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-1657115267788.png) **Figure 69: Added Inputs** ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115277522.png) **Figure 70: Added Outputs** ### Step 4: (Optional) Insert Data to Salesforce From a Digital Process The following sections describe how to insert data into Salesforce 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-1657115418389.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-1657115430580.png) **Figure 72: Salesforce Service** 1. Locate and click **Salesforce Service** (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-1657115480327.png) **Figure 74: Salesforce Resource** 1. Click and select the Salesforce resource (5) created in [Step 1: Creating Salesforce Resource](/v1/docs/salesforce-easysend-two-way-integration#step-1-creating-salesforce-resource). *Result:* The **Object | Record Type** section appears: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115491359.png) **Figure 75: Case** 1. Enter the **Object |****Record Type** - **Case** (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-1657115502105.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-1657115512385.png) **Figure 77: Insert criteria and the Output Sections** #### Step 4b: Configuring the New Step – Insert Criteria (See **Figure 78** to **Figure 81**) To configure the insert criteria, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115522431.png) **Figure 78: IsEscalated** 1. Set the **IsEscalated** (1) to a True or false value, for example, by selecting a **Constant** (2) and value (3). 2. Click the **+ Add New** button (4). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115531136.png) **Figure 79: + Add New Button** *Result:* A new insert line (5) is added: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115541850.png) **Figure 80: New Insert Line** 1. Enter the **Column Name** - **AccountId** (6), set the source to **Model** (7), and enter the value **sFUdate.salesforceRecordId** (8). NOTEThe information provided here is case-sensitive. 1. Click the **+ Add New** button and add additional Salesforce columns, for each added column select the source and value, for example (9): ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657115553541.png) **Figure 81: Additional Salesforce 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 82** to **Figure 88**) To configure the Workflow Manager, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670397125134.png) **Figure 82: + 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-1657115602490.png) **Figure 83: Select an Integration** 1. Click the **Select an Integration** dropdown (3) and select the integration (4) created in [Step 1: Creating an Integration - Adding a New Step](/v1/docs/salesforce-easysend-two-way-integration#step-1-creating-an-integration-adding-a-new-step). *Result:* A list of inputs that were added in [Step 3: Configuring the New Step - Update Criteria](/v1/docs/salesforce-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 84: 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 85: 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-1670393643319.png) **Figure 86: 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-1670393660814.png) **Figure 87: 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-1670394176106.png) **Figure 88: Deployment successful** #### Step 7: Sending an EasySend Link from Salesforce (See **Figure 89**) From your Salesforce 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 Salesforce (account and case). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657111993673.png) **Figure 89: Salesforce Account** ### Insert Attachments Into Salesforce From a Digital Process The following sections describe how to insert attachments to Salesforce from a digital process. #### Step 1: Add a File Input (See **Figure 90** to **Figure 93**) To add a file input, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657107774315.png) **Figure 90: 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-1670394221911.png) **Figure 91: Update Integration** 1. Click the update integration you created in [Step 1: Creating an Integration - Adding a New Step](/v1/docs/salesforce-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-1657116618857.png) **Figure 92: + Add new Input** 1. Click the **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-1657116633253.png) **Figure 93: New Input Line** 1. Enter the **Input Name** (6). 2. Select the **Input Type** (7) - **File**. ### Step 2: Configure the Update Integration (See **Figure 94** to **Figure 96**) To configure the update integration, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657170204999.png) **Figure 94: Update Integration** 1. Click the update integration you created in [Step 1: Creating an Integration - Adding a New Step](/v1/docs/salesforce-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-1657116676087.png) **Figure 95: + 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-1657116686295.png) **Figure 96: File to Upload** 1. Select the source - **Model** (4). 2. Select the input, for example, **inputs.File** (5). NOTEIn your Salesforce environment, files that were uploaded through the digital process are located under **Notes & Attachments**: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1686221285684.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 97** to **Figure 100**) To configure the Workflow Manager, perform the following steps: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1670394443263.png) **Figure 97: 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 98: 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-1670394568673.png) **Figure 99: 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-1670394521052.png) **Figure 100: Deployment successful** ### Step 5: Sending an EasySend Link from Salesforce (See **Figure 101**) From your Salesforce 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 Salesforce (account, case, and attachments). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1657111993673.png) **Figure 101: Salesforce Account**