Nintex Drawloop DocAutomation for Salesforce
Move beyond simple task automation to achieve intelligent process optimization natively in Salesforce, and go from quote to close to customer success more often with Nintex Drawloop DocAutomation for Salesforce.
What is Nintex Drawloop DocAutomation for Salesforce?
Nintex Drawloop DocAutomation for Salesforce is an app that allows you to access Nintex Workflow Cloud from within Salesforce. Without leaving Salesforce, you can use this app to:
- Design Nintex workflows.
- Monitor workflow activities.
- Pause activities.
You can show Nintex workflow forms directly in relevant records. For example, show a discount approval workflow form in opportunity records.
The following sample animation shows a Salesforce user opening Nintex Drawloop DocAutomation for Salesforce and then editing a discount approval workflow.
Note: Instructions in this topic assume the use of Salesforce Lightning. The Nintex Drawloop DocAutomation for Salesforce app is also available in Salesforce Classic.

Salesforce is a customer relationship management (CRM) suite that offers applications with a focus on sales and support.
For more information on Salesforce, see the company website.
In the context of Nintex Workflow Cloud, Salesforce is a connector Service used to define a connection required for associated actions and start events. Examples include Salesforce and Box. Method of integration to cloud services, business applications and content stores.. For information on actions and start events available with Salesforce, see Connectors.

The Nintex Drawloop DocAutomation for Salesforce app must installed in a Salesforce organization with API access. See the Salesforce editions with API Access knowledge article for more information.

You can start a workflow whenever a new or updated file is detected (example: Box - New file), upload files on start or at any point in the workflow, generate documents from tagged templates, send and receive files via email, and manipulate files. You can set up file handling in your workflow start event The connector and event for triggering the workflow to run, including required configuration. An example is Box - New file, which triggers the workflow to run when a new file is uploaded to the specified folder. and actions A tool for building the processes, logic, and direction within workflows..
Note: Your tenancy's default file storage location must be configured to hold files for later reference by the workflow. This location is used for uploaded files and for files stored as output from actions.

- Start your workflow when a new or updated file is detected in a service; for example, see Box - New file and Connectors.
Store a file reference for use later in the workflow (file share connector start events)
File share connector start events, such as Box - New file, require you to add each start event variable that you want to reference later in the workflow. The variables provided vary by start event. See Connectors.
On the Designer canvas, click Start event.
Select a connector from the Start from drop-down list.
Select an event from the Event drop-down list.
- Click Add variables.
- Select the predefined variables that you want to add to your workflow. If you know the variable and you want to find it faster, type the variable name in the Filter options field. To select all variables, click Select All.
- Click Add.
Note: If you want to edit the selection of variables, hover over the variable, click
, and then click Show Details. Edit the variable name in the Name field or click
.
- Upload files when filling in a form from:
- Salesforce, using Nintex Drawloop DocAutomation for Salesforce
- The web or an app
-
Programmatically upload files for a Component workflow A workflow that can be started from outside the tenancy; the workflow uses the "Component workflow" start event.; see Nintex - Component workflow

- Generate documents from tagged templates using Generate document
- Send and receive files via email; for example, see Assign a task
- Manipulate files in services (see Connectors):
- Get, store, move, copy, or delete files using file share connector actions A workflow action that performs a basic operation through a connected system, such as Salesforce or Box., such as Box - Move a file
- Get and attach files in Salesforce
- Get and store files in SharePoint
- Get signatures: Get and store signed documents using DocuSign or Adobe Sign.
-
Store a file for use later in the workflow
For example, store any email attachments received by the task assignee.
- On the Designer canvas, click the action you want to configure.
-
Find the output field for storing the file or set of files.
For example, to store attachments received in task assignee email replies when they may attach multiple files, use the Assign a task Multiple file attachments option for the Store output field.
- In the output field, select a variable or specify a file path:
Select a variable. For outputs storing multiple files, select a collection variable. For outputs storing a single file, select a file variable.
Specify a file path. You can use any combination of text and variables, beginning with the root folder. If available, use the folder browse icon
on the right of the path field to navigate to the folder and any subfolders that you want, and then edit the path as desired to include variables and different text.
The availability of variable or path options for storing files varies by action. For more information, see Connectors and Workflow actions.
-
Reference a stored file
For example, reference the new Box file that started the workflow to attach it to a task email notification or reference an image received by the task assignee to generate an invoice document.
- On the Designer canvas, click the action you want to configure.
- Find the field where you want to reference the stored file select a variable or specify a file path:
Select the file variable associated with the stored file. For example, select the variable for the new Box file that started the workflow or select the variable storing Multiple file attachments output from a task action.
Specify the file path where the file is stored. You can use any combination of text and variables, beginning with the root folder. If available, use the folder browse icon
on the right of the path field to navigate to the folder and any subfolders that you want, and then edit the path as desired to include variables and different text.
View example
Both a file variable and a file path are used in the example image below for the Dropbox Business - Copy a file action. A file variable is selected for Source and a file path is specified for Destination.
The variables "CountryVariable" and "Program" insert the values into the file path as determined by earlier workflow logic (in this case, fields in a submitted form). For example, if the person submitting the form selects Australia for country and specifies Inspire2017 for program, then the resulting file path is "/SpecialProgramNDAs/Australia/Inspire2017NDA.docx."
1. Get started with the Nintex Drawloop DocAutomation for Salesforce app |
Getting started with the Nintex Drawloop DocAutomation for Salesforce app involves installing the app in your org, connecting to your Nintex Workflow Cloud tenancy, and granting app access to others.
Note: My Domain must be implemented in your Salesforce organization. Your Salesforce org URL indicates whether or not My Domain is implemented. For example, "https://acme.my.salesforce.com" implements My Domain; "https://na35.my.salesforce.com" does not.

-
Download the app from AppExchange at the following link.
https://appexchange.salesforce.com/listingDetail?listingId=a0N3A00000EJHPIUA5
Note: To install an app from the AppExchange, you must have the Download AppExchange packages user permissions. For more information, see Installing Packages in Salesforce Application Installation Guide.
-
In the detail page for the package, select Get It Now.
-
Salesforce prompts you to log into your account. Use the credentials for the Salesforce organization where you intend to install the package.
-
Choose whether to install the app into a production or sandbox organization.
-
Agree to the terms and conditions and choose Confirm and Install!
You may be prompted to login to Salesforce again.
-
Choose Install for All Users (recommended) and click Install.
Tip: You can modify access to security settings once the app is installed.
-
In Approve Third-Party Access, select Yes, grant access to these third-party web sites and click Continue.
You may get a message saying the app is taking a long time to install. This is common. You will get an email notification after the app installs.
-
To confirm your installation: From Setup in Salesforce, click Installed Packages.
You should see a package named Nintex Workflow listed with any other packages you may have installed.
Your next step is to connect to a Nintex Workflow Cloud tenancy.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Connect to an existing or new tenant.
To connect to an existing tenant
-
From the Nintex Workflow Configuration tab, click Connect Existing Tenant.
-
In Tenant Subdomain, type your Nintex Workflow Cloud subdomain and click Authorize Tenant.
A popup window appears for you to authenticate.
-
Type your Email and Password and click Sign In.
To connect to a new (trial) tenant
-
From the Nintex Workflow Configuration tab, click Free 30 Day Trial.
-
In Connect Nintex Workflow Cloud Tenant, type or select your information.
Tip: You must use your business email address (no personal gmail or yahoo addresses, for example).
-
Select I agree to the Terms and Conditions and click Start Free Trial.
-
Check your email.
Within a few minutes, messages arrive for the email address you supplied, containing the details you need to create a password and sign in to your tenancy.
-
In Tenant Subdomain, type your Nintex Workflow Cloud subdomain and click Authorize Tenant.
A popup window appears for you to authenticate.
-
Type your Email and Password and click Sign In.
Once you have connected to a Nintex Workflow Cloud tenancy, you're ready to grant app access to others.
-

Grant users access to the Nintex Workflow app (or component) and the connected Nintex Workflow Cloud tenancy.

You have to grant users access to both the Nintex Workflow app (or component) and the connected Nintex Workflow Cloud tenancy. This access granting is done in two places:
-
In the app, you grant app or component access to Salesforce organization users.
-
In the tenancy, you create or update users with the required role to grant them tenancy access through the app. Required for app access.
When users from your organization launch the app, they are prompted to sign into the tenancy. To let others access the app, you will have to do all of the following:
-
Grant users access to the app.
-
Create and distribute credentials for the tenancy.
-
Provide users the instructions for logging into the tenancy from the app (see "To sign into the tenancy from the app" below).
Tip: When you install and connect to a tenancy, you are automatically given access to the app (during install) and the tenancy (when you connect the app to the tenancy).

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow Configuration tab and navigate to Application Access.
-
In the Available Users list, select the user name that you want, and then do one of the following.
Tip: Filter the list of users to a profile by selecting that profile in Profile.
-
To grant component access only (when the component is added to the page layout for the viewed object), click the lower-most Add button (to the left of Application Users).
-
To grant dashboard and other access, click the upper-most Add button (to the left of Application Users).
The following message appears: "User access has been updated."
The available user is added to the app. The user name now appears in the Application Users list and that user has access to the app.
-

-
In Nintex Workflow Cloud, access the User management page: Click Settings and then click User management.
To access this page, your tenancy user must be assigned to the Administrator role. If you created a trial tenancy, you are assigned to this role.
-
Click Add new.
-
In the Add user section, specify an email address of the required domain by doing one of the following.
-
Manually type the full email address.
-
Select an email address that is already registered with Nintex: Type the domain to list existing email addresses and then select the email address you want.
When you select a previously registered email address, the first and last names are pre-populated.
-
-
For a new email address, enter the first and last names of the user.
-
For role, select Designer or a role with higher permissions.
The Designer role provides access to all functionality in the app. For more information about permissions in each role, see User management.
-
Click Add.
The new user is added to the list of users on the page and a green checkmark appears to the left of the user's email address. The checkmark remains until the page is refreshed.
If the added user is already registered with the tenancy, then the user receives a reference email message with a permanent link to the Nintex Workflow Cloud tenancy.
If the added user is not yet registered with the tenancy, then the user receives an email message to create a password before receiving the reference email message with the permanent link.
Note: Passwords must have at least 8 characters including at least 3 of the following 4 types of characters: a lower-case letter, an upper-case letter, a number, a special character (such as one of the following: !@#$%^&*).
For more information about adding users in Nintex Workflow Cloud, see User management.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow Configuration tab and navigate to Application Access.
-
In Connect Nintex Workflow User, click Connect User.
A popup window appears for you to authenticate.
-
Type your Email and Password and click Sign In.
Start a Nintex workflow from Salesforce
You can start a Nintex workflow from Salesforce by submitting its associated form or otherwise satisfying the workflow's start event configuration. For example, a workflow configured to start on new lead records automatically runs when you create a lead record.
Salesforce users can submit forms directly from the record of interest when the workflow is configured to display in the Nintex Workflow component.

In the example animation, a Salesforce user submits a discount approval form for the "55 High Street" opportunity.
You can also start Nintex workflows by submitting forms on the web or in a Nintex Mobile app. The example image shows a web form capturing name and contact information related to a particular product of interest. In this example, the associated workflow automatically creates a lead record in Salesforce using the submitted information.
Make the form available publicly on the web or securely through Nintex Mobile. You can configure the workflow to create a lead record in Salesforce, add a note to a Salesforce object, or simply email you the captured information.
2. Add the component: Nintex Workflow |
Let users in your org run Nintex workflows. When the Nintex Workflow component is added to the page layout for the related object, users in your Salesforce organization can view and run workflows from Nintex Workflow Cloud in the context of a given record.

In the example image, the Nintex Workflow component appears on the right of the page for an opportunity record.
Once the user submits the form, the associated workflow is started.
To show your workflow form in the Nintex Workflow component, select the event Nintex Workflow for Salesforce form.

Note: Make sure you grant component access to the intended Salesforce users.
-
Select a record from an object.
For example, select the ACME record from Opportunities.
-
In the upper right, click
(Setup gear) and click Edit Page.
-
In the Lightning App Builder, from Custom - Managed, drag Nintex Workflow onto the page.
-
Click Save.
To make the Drawloop Lightning Component available to your Lightning Experience users, you must activate the page. You can activate the page from the Save dialog when you save it for the first time, or later using the Activation button. For more information, see Activate Lightning Experience Record Pages in the Salesforce documentation.
Use the Nintex Drawloop DocAutomation for Salesforce app
You can design, browse, pause, import, export, and delete Nintex workflows from Salesforce. You can also monitor Nintex workflow activity and terminate instances from Salesforce.

You can design and edit Nintex workflows using the Nintex Workflow app. Set up a workflow form that starts from Salesforce, a form accessed via web or mobile, or a workflow that starts when a Salesforce record is created or updated.
The example image shows a discount approval workflow with a Salesforce action open for editing.

Follow these steps to set up a workflow start form that shows up in Salesforce. The example image shows a discount approval form available for submission from an opportunity record.
- Open the Start event configuration panel for a new workflow.
On the right of the Nintex Workflow Dashboard tab, click New Workflow.
The workflow designer is displayed.
- In the workflow designer, click Start event to display its configuration dialog box.
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
- For Start from, select Salesforce.
-
For Event, select Nintex Workflow for Salesforce form.
-
For Connection, select your Salesforce connection.
Don't have one yet? Follow these steps to create a Salesforce connection
-
In the drop-down list for Connection, select Add new connection.
The example image shows Add new connection being selected during start event configuration.
A window appears, prompting you for a connection name and an endpoint address. (The URL for the connector service, including domain, is indicated above the credential fields.) The example image shows the name "Support Group Salesforce" being entered as the name of the new Salesforce connection.
The entered name is validated for uniqueness and additional configuration is validated as needed.
If credentials are not stored in the browser for the selected connector service, then you are prompted for credentials.
-
Enter credentials if prompted.
Upon successful login, you are prompted to grant or deny access to Nintex Workflow Cloud.
-
Click the option to grant access.
The "Connection" window closes. Your newly added connection now appears in the Connection field.
-
-
For Show embedded form on, select the object you want.
You can type partial names to filter the list. The example image shows "opp" typed into the text box to limit selections to opportunity-related objects.
Start event variables are generated for your selected object and event. The example image shows a start event context variable for the opportunity ID.
- Click Design form to add fields to the form.
-
To modify Salesforce objects while the workflow is running, drag a Salesforce workflow action onto the canvas and then open it for configuration.
Example action updating an account to a channel partner type:
Make sure you publish the workflow when you're done.

Follow these steps to set up a form available from the web or a Nintex Mobile app. The example image below shows a lead generation form on the web.
- Open the Start event configuration panel for a new workflow.
On the right of the Nintex Workflow Dashboard tab, click New Workflow.
The workflow designer is displayed.
- In the workflow designer, click Start event to display its configuration dialog box.
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
For Start from, select Form.
- Click Design form to add fields to the form.
-
To modify Salesforce objects while the workflow is running, drag a Salesforce workflow action onto the canvas and then open it for configuration.
Example action updating an account to a channel partner type:
Don't have a Salesforce connection yet? Follow these steps to create one
-
In the drop-down list for Connection, select Add new connection.
The example image shows Add new connection being selected during start event configuration.
A window appears, prompting you for a connection name and an endpoint address. (The URL for the connector service, including domain, is indicated above the credential fields.) The example image shows the name "Support Group Salesforce" being entered as the name of the new Salesforce connection.
The entered name is validated for uniqueness and additional configuration is validated as needed.
If credentials are not stored in the browser for the selected connector service, then you are prompted for credentials.
-
Enter credentials if prompted.
Upon successful login, you are prompted to grant or deny access to Nintex Workflow Cloud.
-
Click the option to grant access.
The "Connection" window closes. Your newly added connection now appears in the Connection field.
Make sure you publish the workflow when you're done.
-

Follow these steps to design a workflow that starts whenever a Salesforce record is created (or updated, depending on your selection).
- Open the Start event configuration panel for a new workflow.
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
On the right of the Nintex Workflow Dashboard tab, click New Workflow.
The workflow designer is displayed.
- In the workflow designer, click Start event to display its configuration dialog box.
- For Connector, select Salesforce.
-
For Event, select the event you want.
The example image shows the update event being selected.
-
For Connection, select your Salesforce connection.
Don't have one yet? Follow these steps to create a Salesforce connection
-
In the drop-down list for Connection, select Add new connection.
The example image shows Add new connection being selected during start event configuration.
A window appears, prompting you for a connection name and an endpoint address. (The URL for the connector service, including domain, is indicated above the credential fields.) The example image shows the name "Support Group Salesforce" being entered as the name of the new Salesforce connection.
The entered name is validated for uniqueness and additional configuration is validated as needed.
If credentials are not stored in the browser for the selected connector service, then you are prompted for credentials.
-
Enter credentials if prompted.
Upon successful login, you are prompted to grant or deny access to Nintex Workflow Cloud.
-
Click the option to grant access.
The "Connection" window closes. Your newly added connection now appears in the Connection field.
-
-
For Object name, select the object you want.
You can type partial names to filter the list. The example image shows "opp" typed into the text box to limit selections to opportunity-related objects.
-
Add variables for the fields of interest.
The example image shows variables available for the Opportunity object in the selected Salesforce org.
-
To modify Salesforce objects while the workflow is running, drag a Salesforce workflow action onto the canvas and then open it for configuration.
Example action updating an account to a channel partner type:
Make sure you publish the workflow when you're done.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflows tab to view existing workflows.
-
To open the workflow for editing, do one of the following.
-
Click the name of the workflow you want to edit.
In the example image, the workflow designer is clicking the workflow named "Sales Discount Approval."
-
On the right of the workflow you want, click
to display its context menu and then select Edit.
The workflow designer opens, showing the design of the selected workflow.
-

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
- Click the Nintex Workflows tab.

You can pause and resume published workflows from within Salesforce. While workflows are paused, events are ignored. That is, a paused workflow does not run, even if the configured workflow start event occurs. If the workflow is configured to start when a form is submitted, then nothing happens when the form is submitted.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow tab.
All workflows on your tenancy appear.
-
On the right of the workflow you want, click
to display its context menu and then select Pause.
-
Click Confirm.
The status of the workflow is updated to "Paused."

Note: Resuming a paused workflow will cause events in the past to be triggered and workflows to run.
-
On the right of the workflow you want, click
to display its context menu and then select Unpause.
-
Click Confirm.
The status of the workflow is updated to "Unpaused."

You can export and import workflows directly from Salesforce to share them among Nintex Workflow Cloud tenancies. Connections are removed from imported workflows, changing the status of associated start events and workflow actions to unconfigured. For example, an imported workflow that contains a Salesforce start event and action show both as unconfigured because the connection is no longer specified.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow tab.
All workflows on your tenancy appear.
-
On the right of the workflow you want, click
to display its context menu and then select Export.
-
To generate a key, click Generate Key.
The generated key is listed along with its expiration date. You can now copy the key to import this workflow to this or another tenancy.

-
Copy the workflow import key for an exported workflow.
For instructions, see the previous procedure on exporting workflows.
-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow tab.
All workflows on your tenancy appear.
-
On the upper right, click Import Workflow.
The Import Workflow dialog box appears, listing fields for specifying the workflow import key and desired workflow name.
-
Paste the copied workflow import key and enter the desired workflow name.
The imported workflow appears at the top of the list with the specified workflow name. Imported workflows are set to Draft status, with Edited by set to the name of the user who imported the workflow.

You can view and monitor workflow instances that are in progress or finished. The example image shows the instance details for a lead generation workflow instance that initiated at 3:33 p.m. and finished at 3:36 p.m.
If you encounter a problem, you can open a support ticket. Support tickets are useful when you need assistance troubleshooting an instance that is not behaving as expected.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow Instances tab.
By default, the Instances list shows all workflow instances initiated during the last five days. For each workflow instance, the list indicates the name of the associated workflow and the initiated and completed dates.
-
To filter the list, click Instances
and then choose an option.

-
Click the instance name (first column).
A summary of the current status appears.

-
Look under Instance Activities.
A summary of the activities in this instance by workflow action appears. Information shown includes latest status and start and end times.

-
For the instance that you want, access the Instance Details section as shown.
-
Click Create Support Ticket and then follow the prompts to submit instance details to NintexSupport.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow tab.
All workflows on your tenancy appear.
-
On the right of the instance you want, click
to display its context menu and then select Terminate.
-
Click Confirm.
The instance is terminated.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow tab.
All workflows on your tenancy appear.
-
On the right of the workflow you want, click
to display its context menu and then select Delete.
-
Click Confirm.
The workflow is deleted from the tenancy.
3. Configure the Nintex Drawloop DocAutomation for Salesforce app |
You can disconnect the app from tenancies or user accounts as well as remove users from the app and component.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow Configuration tab and navigate to Connected Tenant Details.
-
Disconnect from the tenancy or user account as follows:
-
Connected to:, click Disconnect Tenant
-
Connected as:, click Disconnect User.
-
-
In the confirmation message, click Disconnect Tenant or Disconnect User as appropriate.
The app is disconnected from the tenancy or user account.

-
In Lightning, click
for the App Launcher, and then click Nintex Workflow.
-
Click the Nintex Workflow Configuration tab and navigate to Application Access.
Users listed on the right have access to the app or component; those under Application Administrators have access to the dashboard and other app items while those under Application Users have access to the component.
-
On the right, select the user you want to remove and then click Remove.
The example image shows the user "Pamela" being selected for removal from app access (Application Administrators).
The following message appears: "User access has been updated."
The user is removed from the app or component per your selection.
Legal notices

For the latest information, please see https://nintex.com/legal/.
Nintex Drawloop DocAutomation for Salesforce uses ApexMocks, which is governed by the following legal notice.
Copyright (c), FinancialForce.com, inc
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the FinancialForce.com, inc nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.