
Connectors / Documents and e-signature · HTTP Connector
Automate DocRaptor with Tray.ai
Create a document in DocRaptor and start a workflow when DocRaptor sends “Document created”.
What can you do with DocRaptor on Tray.ai?
DocRaptor is an API that converts HTML into PDF and Excel files, with synchronous or queued generation and optional hosted download links. Tray.ai connects to DocRaptor through the HTTP Connector, so your workflows can call the DocRaptor API alongside the rest of your stack.
- Create a document to turn each monthly statement into a PDF for your customers.
- When DocRaptor sends “Document created”, store the PDF in your document system.
- Create a document as an Excel report each week from your finance data.
- Connects through
- HTTP Connector
- Authentication
- Basic authentication or an API key in the query string
- Base URL
- https://api.docraptor.com
Set it up
Connect DocRaptor to Tray.ai
Each step uses DocRaptor's own API details, from its documentation.
Step 1
Save DocRaptor's username and password
Save the credentials DocRaptor gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay 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.docraptor.com as the base URL. Or paste a cURL example from DocRaptor's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List created documents”
It's one of 4 documented actions, under Documents. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from DocRaptor events
Give DocRaptor the URL of a Tray.ai webhook trigger. “Document created” can then start a workflow.
Workflows to build with DocRaptor
Each one uses actions and events from DocRaptor's own API documentation.
Create DocRaptor PDF reports from Salesforce opportunities
When
An opportunity closes in Salesforce
Then
- Create a document in DocRaptor from the deal summary
- Attach the PDF to the opportunity in Salesforce
With Salesforce
Save DocRaptor documents to Box
When
Document created
Then
- Download a finished document in DocRaptor
- Save it to the reports folder in Box
With Box
Give your AI agents DocRaptor tools
Build an MCP server on DocRaptor 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
- Create a document
- Get job status
- List created documents
- Download a finished document
What the DocRaptor API covers
2 resources and 4 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
- Create a document
- List created documents
Generation jobs
- Get job status
- Download a finished document
Events DocRaptor can send to a Tray.ai webhook trigger
- Document created
Checked against DocRaptor's own documentation on 2026-10-22
How Tray.ai makes this work
DocRaptor plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in DocRaptor — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose DocRaptor actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on DocRaptor data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More documents and e-signature apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every documents and e-signature connector →
Frequently asked questions
What can a Tray.ai workflow do in DocRaptor?
+
The DocRaptor API documents 4 actions across 2 resources (Documents, Generation jobs). For example: Create a document; Get job status. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with DocRaptor?
+
The DocRaptor API uses basic authentication and an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which DocRaptor events can start a Tray.ai workflow?
+
DocRaptor sends one event to a webhook URL, for example: Document created. A Tray.ai webhook trigger receives them and starts a workflow.
See DocRaptor working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.