Integration
Connect Formstack Documents to Gmail
When something happens in Formstack Documents, your agent does the next thing in Gmail. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Formstack Documents and Gmail to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Formstack Documents and Gmail
Triggers and actions 3 triggers · 38 actions
Trigger
New Merged DocumentTriggers when a merged/populated document is created.
Action
Combine FilesJoins several files into one PDF or Word document. Give it the files in the order you want them, either as links or as base64 content, and it returns the combined file.
Action
Convert File to PDFTurns a Word, Excel, PowerPoint, image or HTML file into a PDF. Point it at the file with a link or supply the file content, and it returns the PDF.
Action
Copy DocumentMakes a copy of one of your Formstack Documents templates under a new name, and returns the new document with its merge key, merge URL and available merge fields.
Action
Create Data RouteCreates a data route in Formstack Documents — a single endpoint that sends one set of data to several documents at once, following the rules you give it. Returns the new route with the URL to post data to.
Action
Create Data Route MergeSends one set of data into a Formstack Documents data route, which merges it into every document the route's rules select. Optionally returns the finished documents in the response.
Action
Create DocumentCreates a new document template in Formstack Documents from HTML or from an uploaded PDF, Word, Excel or PowerPoint file, and returns its merge URL and the merge fields found in it.
Action
Delete Data RouteDeletes a data route from Formstack Documents. The documents the route pointed at are not deleted.
Action
Delete DocumentDeletes a document template from Formstack Documents.
Action
Get Data RouteReturns one Formstack Documents data route, with its name, its merge URL and the rules that decide which documents the data goes to.
Action
Get DocumentReturns one document template from Formstack Documents, with its name, type, output format, merge URL and — for HTML templates — the template's HTML.
Action
Get Document FieldsReturns the merge fields found in a Formstack Documents template, so you know which names to send when merging data into it.
Action
List Data RoutesReturns your Formstack Documents data routes, each with its name, key and the URL to send data to.
Action
List DocumentsReturns your Formstack Documents templates, each with its name, type, output format and merge URL.
Action
Update Data RouteUpdates a Formstack Documents data route — its name, folder, or the rules that decide which documents receive the data. Anything you leave blank stays as it is.
Action
Update DocumentUpdates a Formstack Documents template — its name, folder, output format, filename or the template content itself. Anything you leave blank stays as it is; the template type cannot be changed.
Trigger
Email SentFires when an email is sent from the mailbox (optionally filtered by query). Managed by Composio (server-side poll; ~15 min floor).
Trigger
New Gmail MessageFires when a new email arrives (optionally filtered by query/labels). Managed by Composio (server-side poll; ~15 min floor).
Action
Add Label To EmailAdds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).
Action
Create Email DraftCreates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.
Action
Create LabelCreates a new label with a unique name in the specified user's gmail account.
Action
Delete DraftPermanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.
Action
Delete MessagePermanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.
Action
Fetch EmailsFetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
Action
Fetch Message By Message IdFetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.
Action
Fetch Message By Thread IdRetrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.
Action
Get AttachmentRetrieves a specific attachment by id from a message in a user's gmail mailbox, requiring valid message and attachment ids.
Action
Get ContactsFetches contacts (connections) for the authenticated google account, allowing selection of specific data fields and pagination.
Action
Get PeopleRetrieves either a specific person's details (using `resource name`) or lists 'other contacts' (if `other contacts` is true), with `person fields` specifying the data to return.
Action
Get ProfileRetrieves key gmail profile information (email address, message/thread totals, history id) for a user.
Action
List DraftsRetrieves a paginated list of email drafts from a user's gmail account. use verbose=true to get full draft details including subject, body, sender, and timestamp.
Action
List LabelsRetrieves a list of all system and user-created labels for the specified gmail account.
Action
List ThreadsRetrieves a list of email threads from a gmail account, identified by `user id` (email address or 'me'), supporting filtering and pagination.
Action
Modify Thread LabelsAdds or removes specified existing label ids from a gmail thread, affecting all its messages; ensure the thread id is valid.
Action
Move To TrashMoves an existing, non-deleted email message to the trash for the specified user.
Action
Patch LabelPatches the specified label.
Action
Remove LabelPermanently deletes a specific, existing user-created gmail label by its id for a user; cannot delete system labels.
Action
Reply To ThreadSends a reply within a specific gmail thread using the original thread's subject, requiring a valid `thread id` and correctly formatted email addresses. supports attachments via the `attachment` parameter with valid `s3key`, `mimetype`, and `name`.
Action
Search PeopleSearches contacts by matching the query against names, nicknames, emails, phone numbers, and organizations, optionally including 'other contacts'.
Action
Send DraftSends the specified, existing draft to the recipients in the to, cc, and bcc headers.
Action
Send EmailSends an email via gmail api using the authenticated user's google profile display name, requiring `is html=true` if the body contains html and valid `s3key`, `mimetype`, `name` for any attachment.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.
Each app on its own
Reviews