Skip to content
Formstack Documents logo

Connectors / Documents and e-signature · HTTP Connector

Automate Formstack Documents with Tray.ai

Create a document, create a data route and create a document delivery in Formstack Documents.

What can you do with Formstack Documents on Tray.ai?

Formstack Documents, formerly WebMerge, fills document templates with data to produce contracts, letters and other files, then delivers them by email, storage or e-signature. Tray.ai connects to Formstack Documents through the HTTP Connector, so your workflows can call the Formstack Documents API alongside the rest of your stack.

  • When a deal closes in your CRM, merge a document to produce the contract with the customer details filled in.
  • Merge a data route to build an onboarding pack from a new hire record in your HR system.
  • After a quote is approved, create a document delivery that sends the finished file to your document storage.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://www.webmerge.me/api

Set it up

Connect Formstack Documents to Tray.ai

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

Step 1

Save Formstack Documents's username and password

Save the credentials Formstack Documents 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://www.webmerge.me/api as the base URL. Or paste a cURL example from Formstack Documents's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List documents”

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

Step 4

Hand it to an AI agent

Wrap “Create a document” and “Update a document” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Formstack Documents

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

Generate Formstack Documents contracts from closed Salesforce deals

When

A deal closes in Salesforce

Then

  1. Merge a document with the deal and account details
  2. Send the contract for signature in DocuSign

With Salesforce and DocuSign

Create offer letters in Formstack Documents for Greenhouse hires

When

A candidate is hired in Greenhouse

Then

  1. Merge a document with the offer letter template
  2. Save the letter to the employee folder in Box

With Greenhouse and Box

Apps you can build on Formstack Documents data

Internal tools your team can build with an AI assistant, each one using Formstack Documents calls from its API documentation.

Contract generation portal

Lists document templates and lets a sales or legal user merge data into one to produce a contract.

Document delivery setup review

Lists templates and their deliveries so an admin can see where each document goes and add a new delivery.

Data route manager

Lists data routes and lets an operations user merge a route to build a document packet from one data set.

Give your AI agents Formstack Documents tools

Build an MCP server on Formstack Documents 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

  • List documents
  • List data routes
  • List document deliveries
  • Create a document
  • Update a document
  • Delete a document
  • Merge a document
  • Copy a document

What the Formstack Documents API covers

3 resources and 13 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

  • List documents
  • Create a document
  • Update a document
  • Delete a document
  • Merge a document
  • Copy a document

Data Routes

  • List data routes
  • Create a data route
  • Update a data route
  • Delete a data route
  • Merge a data route

Deliveries

  • List document deliveries
  • Create a document delivery

Checked against Formstack Documents's own documentation on 2026-10-22

www.webmerge.me/developers

Frequently asked questions

What can a Tray.ai workflow do in Formstack Documents?

+

The Formstack Documents API documents 13 actions across 3 resources (Documents, Data Routes, Deliveries). For example: List documents; List data routes; List document deliveries. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Formstack Documents?

+

The Formstack Documents API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Formstack Documents 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.