Integration · Docs and data
AI agents for APITemplate.io
Generate PDFs and images with APITemplate.io: fill a PDF template with JSON data (invoices, reports, certificates), turn HTML or a web page into a PDF, render an image template with new text and pictures, or merge PDFs.
- Actions
- 9
- Read
- 3
- Write
- 6
Actions
What your agents can do in APITemplate.io
Generate PDFs and images with APITemplate.io: fill a PDF template with JSON data (invoices, reports, certificates), turn HTML or a web page into a PDF, render an image template with new text and pictures, or merge PDFs. Each returns the address of the finished file.
Read 3
Look things up. Nothing changes.
List templates
Lists your templates with each one's template_id, name, format (PDF or JPEG) and group_name.
List generated files
Lists the PDFs and images made before, newest first, each with its transaction_ref, transaction_type (PDF, JPEG or MERGE), primary_url (and secondary_url for the PNG), your meta and created_at.
Get account usage
Returns the subscription, its period and the API quota left (api_quota, api_remaining).
Write 6
Create, change or send.
Create a PDF from a template
Fills one of your PDF templates with JSON data and returns download_url (the PDF's address), total_pages and transaction_ref (to find or delete it later).
Create a PDF from HTML
Turns HTML (with CSS) into a PDF and returns download_url.
Create a PDF from a web page
Saves a public web page as a PDF and returns download_url, with the same page settings as create_pdf_from_html.
Create an image from a template
Renders one of your image templates with changes to its layers and returns download_url (JPEG) and download_url_png.
Merge PDFs
Joins several PDFs (by their addresses, in order) into one and returns its address as primary_url with total_pages.
Delete a generated fileDeletes data
Deletes a generated PDF or image from APITemplate's storage by its transaction_ref; its address stops working.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything. Actions that delete data ask first by default.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Paste an API key from your APITemplate.io account.
What you enter
- API key
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your APITemplate.io data
Ask a question in plain words. The agent can list templates, list generated files or get account usage in APITemplate.io, then answers with what it found.
- 02
Let an agent update APITemplate.io
Have the agent create a PDF from a template or create a PDF from HTML in APITemplate.io as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Share what it finds in Slack
Give one agent APITemplate.io and Slack: it can list templates in APITemplate.io and post a summary to a Slack channel in the same run.
FAQ
APITemplate.io and MyDeepAgents
Can MyDeepAgents connect to APITemplate.io?
Yes. The APITemplate.io connector has 9 actions: 3 read and 6 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect APITemplate.io?
Paste an API key from your APITemplate.io account. You'll need: API key. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in APITemplate.io without asking?
Only if you let it. Each of the 6 actions that change data can be set to wait for a person's approval before it runs, and the one that deletes data asks first by default.
Can I use APITemplate.io in workflows as well as agents?
Yes. Every APITemplate.io action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put APITemplate.io to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.