You will be prompted to choose a connection type:
Give your connection a clear name (e.g., "Xero Demo Company").
Log in to Xero to authorize the connection.
The app provides three main actions to use inside your workflow:
This page covers important behaviors and limitations of the Xero integration in Workflow Builder that you should be aware of when building your workflows. Understanding these nuances will help you avoid common configuration mistakes and set up your workflows correctly from the start.
The "OR" operator has important limitations:
400: "Found multiple records for the given search query".Although Xero itself is not case-sensitive when searching contacts, we recommend always using the exact name as it appears in Xero. This ensures consistent and predictable behavior across all workflow steps.
The following special characters are confirmed to work correctly in contact names: /, &, ', @, +, ,, ., -, ?, (, )
If a contact name contains other special characters not listed above, unexpected errors may occur. In such cases, please contact support.
Before starting, ensure that:

Once the app is installed, you need to authorize the connection between Docusign and Xero.
Initiate Connection: After installation, click the Connect Account button on the app screen.

Select Account Type: You will be prompted to choose the connection visibility:

Name the Connection: Enter a clear name for your connection (e.g., "Xero Demo Company"). This name will be displayed later in Workflow steps, so make it easily identifiable.

Authorize with Xero: Click Login to proceed to Xero.
Select the organization you want to connect.
Troubleshooting: If you are already logged in and your organization appears "greyed out" or inactive in the list, click "Continue with [N] organisations" or select "Select another organisation" from the dropdown menu to re-authorize access.

Completion: You will be redirected back to the Docusign App Center. The app status should now show as Installed, and the connection is ready to use.
You can edit, delete, or add new connections at any time without reinstalling the app.
To access connection settings:


If you need to connect to a different Xero company (e.g., for a different workflow), click + Add New Connection inside the Manage Connections screen. Follow the same setup steps as the initial installation.

he Xero app enables you to work with Xero data directly within Docusign Workflows. Using this app, you can create workflows that read data from Xero, update Xero records, and automatically attach signed documents as part of an automated process.

Within the Workflow Builder, the Xero app provides actions to interact with your data. These actions allow Xero to act as both a source and a destination within the same workflow.
The following actions are available:

In this documentation, we will use object_id as the workflow startup variable. This is a common pattern when triggering workflows from an external system via API.
To configure the workflow trigger:

object_id (Type: Text).


This configuration allows external systems to trigger the workflow and pass a specific identifier (like a Xero Contact ID) into the object_id variable. This variable can then be used in subsequent steps (like "Read from Xero") to identify which record to process.
The Read from Xero step allows a workflow to retrieve data for a specific Xero Contact. To do this correctly, the workflow must be able to identify which Xero entity it should work with.
Configuring this step involves three main stages:



You will be prompted to select where to read data from.

Choose the specific data points you want to retrieve from the Xero Contact.

In this step, you define which specific Xero record the workflow should read. You do this by creating a matching rule.
Create a rule that matches a Xero field to a workflow variable:
Account Number or Contact ID).Equal to.object_id, which we configured at the workflow start).

Example Logic: This rule tells the system: "Find the Xero Contact whose Account Number matches the object_id provided when the workflow started."
Note: You can use other fields for identification (e.g., Email, Name), provided they are unique enough to identify a single record.
Once configured, this step will find the correct Contact in Xero, and pull the selected data into the workflow. You can now use these variables (e.g., to pre-fill a document) in subsequent steps.
The Writeback to Xero action allows a workflow to update existing Xero records or create new ones using data generated during the workflow execution (e.g., from a signed document or a web form).
This step is typically used at the end of a workflow to save results back to Xero. A common pattern:


Decide how the system should handle the data writing process:

Select which fields in Xero you want to populate with workflow data.
⚠️ Important: The Name field is mandatory in the Xero API. It is the key field used to find or create records.
Name field to a valid workflow variable (e.g., a "Name" field collected from a Web Form or the Name variable from the Read step).

Finally, you must define the rule for identifying which record to write to.
Configure the rule as follows:
Equal to.Name from your Web Form).

Click Done. The step is now configured to automatically update or create Xero records when the workflow runs.
The File Upload action allows a Workflow to upload and attach a file to a Xero Contact.
Add the File Upload to Xero action to your Workflow and open its configuration.

You need to specify which file from the workflow should be uploaded.
Select File: Choose Combined Envelope File (or another file variable generated by previous steps).

💡 Note: If no file is available for selection, it usually means that the file was not generated in previous workflow steps. Verify that your workflow includes steps such as document preparation and signing before File Upload.
⚠️ Important: The UI uses standard "Folder/Subfolder" terminology, but in the context of Xero, this structure represents the Xero Entity Hierarchy.

To attach a file, you must first select the Drive as Contacts. Then, for the Folder, you have two ways to choose the destination:
Select contact from List.

You can select a specific Contact manually from the dropdown list.
Attach to the Current Workflow Contact (Dynamic method).

You can configure the New Subfolder using a variable (Contact ID).
Please check below "How to configure" for more information.
Step 1 — Select Drive In the Select Drive dropdown, choose Contacts.
This sets the target entity type for the upload.
Step 2 — Add Folder Variable
Under Select Folder, click New Subfolder.
In the dialog (New Folder), click Add Variable.
Select the variable source. Remember, we should select Contact ID! You can receive it from the Xero Read step.
Choose: ID.
Click Add.
✅ Result: The Folder entry will appear in the File Upload location UI and will contain the ID variable.
![User interface for selecting drive 'Contacts' and folder '[contacts[1]/id]' with red arrows.](/images/documentation/xero-for-docusign/67e8d8bfca3e37c06b44e90250fb7c0e.webp)
After completing the steps above, your File Upload location should look like:
[contacts[1] / Id]This configuration attaches the uploaded file to the specified Contact.
[Contact Number] - W-9 Form).

If everything is set up correctly, the file will be attached to the selected contact ID.

Here are the most common configuration issues and how to resolve them.
Q: Why must I use the "Contact ID" for the Folder name?
A: The Xero API requires a unique identifier to attach files to specific records. Names are not reliable because they can be duplicates. You must map the Folder to the ID variable (retrieved from the "Read from Xero" step). If you use a static text name for the folder, the upload will fail or go to the wrong location.
Q: I don't see any files available in the "Select File" dropdown.
A: This usually happens if the upload step is placed incorrectly in the workflow.