Skip to content
Docupilot logo

Connectors / Documents and e-signature · HTTP Connector

Docupilot integration and API

Generate a document from a template and convert a file in Docupilot, and start a workflow when Docupilot sends “Document created”.

What can you do with Docupilot on Tray.ai?

Docupilot fills document templates with data from forms, CRMs, and other apps to produce contracts, invoices, and proposals, then signs and delivers them. Tray.ai connects to Docupilot through the HTTP Connector, so your workflows can call the Docupilot API alongside the rest of your stack.

  • When Docupilot sends “Document created”, attach the contract to the opportunity in your CRM.
  • Generate a document from a template whenever a new hire is added to your HR system.
  • Append PDF files for invoices and timesheets into one pack for each client billing run.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api-us1.docupilot.app

Set it up

Connect Docupilot to Tray.ai

Each step uses Docupilot's own API details, from its documentation.

Step 1

Save Docupilot's API token

Save the token Docupilot issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api-us1.docupilot.app as the base URL. Or paste a cURL example from Docupilot's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “Generate a document from a template”

It's one of 5 documented actions, under Documents. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Docupilot events

Give Docupilot the URL of a Tray.ai webhook trigger. “Document created” can then start a workflow.

Workflows to build with Docupilot

Connect Docupilot with Pipedrive, Dropbox and Slack

Each one uses actions and events from Docupilot's own API documentation.

Generate Docupilot contracts when a Pipedrive deal is won

When

A deal is won in Pipedrive

Then

  1. Generate a document from a template with the deal details
  2. Attach the contract to the deal in Pipedrive

With Pipedrive

Save new Docupilot documents to Dropbox

When

Document created

Then

  1. Save the document to the client folder in Dropbox
  2. Post a link to the team channel in Slack

With Dropbox and Slack

Give your AI agents Docupilot tools

Build an MCP server on Docupilot in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Generate a document from a template
  • Convert a file
  • Trigger a published workflow
  • Append PDF files
  • Transform a PDF

What the Docupilot API covers

2 resources and 5 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Documents

  • Generate a document from a template
  • Trigger a published workflow

Files

  • Convert a file
  • Append PDF files
  • Transform a PDF

Events Docupilot can send to a Tray.ai webhook trigger

  • Document created

Checked against Docupilot's own documentation on 2026-10-22

help.docupilot.app/developers/api-overview

Frequently asked questions

What can a Tray.ai workflow do in Docupilot?

+

The Docupilot API documents 5 actions across 2 resources (Documents, Files). For example: Generate a document from a template; Convert a file. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Docupilot?

+

The Docupilot API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Docupilot events can start a Tray.ai workflow?

+

Docupilot sends one event to a webhook URL, for example: Document created. A Tray.ai webhook trigger receives them and starts a workflow.

See Docupilot working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.