---
title: "Document flows"
url: "https://docs.signnow.com/docs/document-flows"
type: "page"
section: "Integrations"
slug: "document-flows"
---

# Document flows

# Document flows in SignNow for Salesforce

## Prerequisites

Go to **App Launcher** > **SignNow Admin Tools**.

![SignNow Admin Tools in Salesforce with the Log In and Sign up buttons](/reference-assets/images/SignNow_Salesforce/signnow_admin_tools_upd.png)


Log in to your SignNow account and grant SignNow for Salesforce access to your account.

Click **Document Flows** in the left-hand menu.

To rename or delete a document flow, click **More (…)** next to it and select **Rename** or **Remove**.

![Document Flows list with the More menu open and the Rename and Remove options](/reference-assets/images/SignNow_Salesforce/document_flows_rename.png)

---

On the **Document Flows** tab, Salesforce admins can create scenarios for sending documents for signature to connect them to Salesforce custom links and buttons.

Document flows allow Salesforce users to send predefined documents (with assigned recipient roles, fillable fields, and data mapping) for signature in a single click from Salesforce records. A document flow can also update the Salesforce record once every recipient has signed. See [Set actions on completion](#set-actions-on-completion).

To configure the document flow, follow these steps.

## Add the document flow information

Here, you can name the document flow and (optional) add the document name.

![Details step of the document flow wizard with the flow name and document name filled in](/reference-assets/images/SignNow_Salesforce/document_flow_name_wide.png)

## Configure the sender's experience

Check the options to customize the sender's experience. You can allow or prevent the sender from entering a document name, adding fillable fields, adding recipients, and mapping fillable fields with Salesforce records.

> [!NOTE]
> If you hide the **Add Recipients** screen from the sender, you can manually add recipients or pre-fill recipients' email addresses with record values at the Configure recipients step.

Once done, click **Next to Customization**.


## Customize the invite email message to signers

The next step allows you to customize the email subject and body message to signers.

> [!WARNING]
> This configuration will override email message settings stored in the selected template.

To add data from the Salesforce record to the document name, subject, or body:

- Click **Add record values**.
- Select a **Salesforce object**, then select a **Salesforce field**.
- Copy the generated record value, for example `{{Opportunity.OrderNumber__c}}`, and paste it where you need it.

![Message step with Add record values open, Opportunity and OrderNumber__c selected, and the record values in the subject and body](/reference-assets/images/SignNow_Salesforce/document_flow_message_record_values_wide.png)

Click **Next to Recipients** to proceed.

### Configure recipients

Set up recipients who will sign the document.

> [!WARNING]
> This configuration will override settings stored in the selected template.

#### Pre-fill recipient emails using tags

Similar to the invite email subject and body, you can pre-fill recipients' email addresses with record values from Salesforce records, enabling automated document sending.

Click **Add record values**, select the Salesforce object and field, then copy the record value into the recipient's email field.

![Recipients step with Add record values open, Opportunity and Customer_Email__c selected, and the record value in the recipient's email field](/reference-assets/images/SignNow_Salesforce/document_flow_recipients_record_values_wide.png)

Click **Add Recipient** to add more recipients.

> [!NOTE]
> Name each role exactly as it's named in the template. If a role name doesn't match, the recipient is added as a new role without fields, and the template's role keeps its own recipient.

If you want all recipients to receive documents simultaneously, turn off the **Recipients receive documents in order** toggle.

<!-- theme: warning -->

> [!WARNING]
> If the document flow configuration is incorrect (e.g., if the field is set to be pre-filled with an empty Salesforce record or the document flow is connected to the wrong object), the sender will need to add the required information and complete the missing steps before sending the document.

### Sender's email

Check the **Sender's email** checkbox if the sender needs to be set as a recipient in the configured document flow.

![sender_email.png](/reference-assets/images/SignNow_Salesforce/sender_email.png)

<!-- theme: warning -->

> [!WARNING]
> **Document status is not updated when the signer's email matches the sender's email.** If a recipient's email address is identical to the sender's, the `document_group.invite.signed` webhook event is not created for that recipient after signing, so the document status in Salesforce (for example, in the [Invites Status widget](/docs/salesforce-invites-status-widget)) is not updated. To avoid this, use a plus alias for the recipient's email address, e.g., `john.smith+1@company.com` instead of `john.smith@company.com`. Emails sent to the alias are delivered to the same inbox, and the document status updates correctly.

### Signature invite settings

Click the gear icon near the recipient's email field to customize the signature invite for each recipient.

You can protect the document with a password, set an expiration date and reminders, and allow the recipient to forward the document.

> [!NOTE]
> Document forwarding is not allowed with password protection.

![Recipients step with the signature invite settings open: password protection, expiration, reminders, and forwarding](/reference-assets/images/SignNow_Salesforce/signature_invite_settings_wide.png)

Click **Next to Actions on Completion** to proceed.

## Set actions on completion

Update the Salesforce record automatically once the document is signed, for example, move an Opportunity to the **Negotiation/Review** stage as soon as every recipient has signed. This step is optional.

Click **+ Add action**, then:

- In **Object**, select the Salesforce object the document is sent from. Type in the list to search for the object by its API name, for example `Opportunity`.
- In **Salesforce field**, select the field to update, then enter the value in **New value**. The list shows the object's editable fields, including custom fields.
- To update one more field on the same record, click **+ Add field**. A document flow has one action, and the action updates up to two fields.

The **What will happen** box summarizes the update. SignNow applies it to the record the document was sent from when every recipient has signed.

![Actions on completion step setting Stage to Negotiation/Review and Next Step on the Opportunity, with the What will happen summary](/reference-assets/images/SignNow_Salesforce/document_flow_actions_on_completion_wide.png)

Enter the new value in the format the field expects. SignNow checks the format when you save the document flow.

| Field type | New value |
| --- | --- |
| Text | Enter any text. |
| Number, currency, or percent | Enter digits, with a period as the decimal separator and an optional minus sign, for example `5000`, `-10`, or `12.5`. Enter a percent as `30`, not `0.3`. |
| Checkbox | Enter `true` or `false` in lowercase. |
| Date, such as **Close Date** | Enter the date as `YYYY-MM-DD`, for example `2026-12-31`. |
| Date/Time | Enter the date and time as `YYYY-MM-DDThh:mm:ssZ`, for example `2026-12-31T10:00:00Z`. To use another time zone, replace `Z` with an offset, for example `2026-12-31T10:00:00+02:00`. |
| Picklist, such as **Stage** | Enter the API name of the picklist value, with the same capitalization, for example `Closed Won`. The API name can differ from the label shown on the record. |
| Multi-select picklist | Enter the API names of the values separated by `;`, for example `Wind;Solar`. |
| Lookup, such as **Account ID** | Enter the 15- or 18-character ID of a record of the object the field refers to. |

To find a picklist value's API name, in Salesforce Setup go to **Object Manager**, select the object, for example **Opportunity**, then click **Fields & Relationships** and select the field. The values table at the bottom of the field's page lists each value's **API Name**, for example **Stage** has the value `Closed Won`.

> [!WARNING]
> Check picklist values against the field's values in Salesforce Setup. If the picklist is not restricted, Salesforce saves any value it receives, so a misspelled value is written to the record as is.

SignNow updates the record with the Salesforce access of the user who sends the document. Senders need edit access to the selected fields, the same as you have when you save the flow.

If Salesforce rejects the update, for example because of an ID of the wrong object, a validation rule, or the sender's field access, the document still completes and the invite shows a **Salesforce sync failed** badge in the [Invites Status widget](/docs/salesforce-invites-status-widget#salesforce-sync-failed). The fields of an action are saved together, so in that case none of them is updated.

To send documents with the flow, add it to a custom link for the same object. See [Custom links](/docs/custom-links).

Click **Save** to save the document flow.


---
*Full page: https://docs.signnow.com/docs/document-flows*
