Connectors / Marketing · HTTP Connector
Postalytics integration and API
Create a campaign, create a contact on a list and create a template in Postalytics. Connect Postalytics to the rest of your marketing stack with Tray.ai.
What can you do with Postalytics on Tray.ai?
Postalytics is direct mail automation software for designing, sending and tracking postcards, letters and self-mailers triggered from customer data. Tray.ai connects to Postalytics through the HTTP Connector, so your workflows can call the Postalytics API alongside the rest of your stack.
- Enroll a contact in a flow when a customer's subscription lapses in your billing system.
- Create a contact on a list for each new lead in your CRM to receive a welcome postcard.
- Get campaign stats weekly and add mail delivery results to your marketing dashboard.
- Add a suppression list contact when a customer opts out in your CRM.
- Connects through
- HTTP Connector
- Authentication
- Basic authentication
- Base URL
- https://api.postalytics.com/api/v1
Set it up
Connect Postalytics to Tray.ai
Each step uses Postalytics's own API details, from its documentation.
Save Postalytics's username and password
Save the credentials Postalytics 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.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.postalytics.com/api/v1 as the base URL. Or paste a cURL example from Postalytics's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List campaigns”
It's one of 27 documented actions, under Campaigns. The response comes back as data the next step can map into your other apps.
Hand it to an AI agent
Wrap “Get a campaign” and “Create a campaign” 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 Postalytics
Connect Postalytics with Salesforce, HubSpot and Google Sheets
Each one uses actions and events from Postalytics's own API documentation.
Enroll closed-lost Salesforce deals in a mail flow
When
A deal is marked closed lost in Salesforce
Then
- Create a contact on a list with the contact's mailing address
- Enroll a contact in a flow for win-back mail
With Salesforce
Send direct mail to new HubSpot leads
When
A contact becomes a marketing qualified lead in HubSpot
Then
- Create a contact on a list
- Enroll a contact in a flow
With HubSpot
Report direct mail campaign stats to Google Sheets
When
On a schedule
Then
- List campaigns
- Get campaign stats for each active campaign
- Add a row per campaign in Google Sheets
With Google Sheets
Apps you can build on Postalytics data
Internal tools your team can build with an AI assistant, each one using Postalytics calls from its API documentation.
Direct mail campaign dashboard
Lists campaigns with their send stats and lets a marketer pause or resume a campaign by changing its status.
Flow enrollment manager
Looks up a contact and shows available mail flows so a marketer can enroll or unenroll them.
Mail suppression request form
Lets staff review suppression lists and add a contact who asked to stop receiving mail.
Postalytics MCP server for AI agents
Build an MCP server on Postalytics 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 campaigns
- List contact lists
- List flows
- List templates
- List suppression lists
- List webhooks
- Get a campaign
- Create a campaign
What the Postalytics API covers
6 resources and 27 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.
Campaigns
- List campaigns
- Get a campaign
- Create a campaign
- Update campaign status
- Delete a campaign
- Get campaign stats
Contacts
- List contact lists
- Get a contact
- Create a contact on a list
- Update a contact
- Delete a contact
Flows
- List flows
- Get a flow
- Enroll a contact in a flow
- Unenroll a contact from a flow
Templates
- List templates
- Get a template
- Create a template
- Delete a template
Suppression lists
- List suppression lists
- Create a suppression list
- Add a suppression list contact
- Delete a suppression list
Webhooks
- List webhooks
- Create a webhook
- Update a webhook
- Delete a webhook
Checked against Postalytics's own documentation on 2026-10-22
docs.postalytics.com/what-is-the-postalytics-direct-mail-api
How Tray.ai makes this work
Postalytics plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Postalytics, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Postalytics actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Postalytics data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore marketing apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every marketing connector →
Frequently asked questions
What can a Tray.ai workflow do in Postalytics?
The Postalytics API documents 27 actions across 6 resources (Campaigns, Contacts, Flows, Templates, Suppression lists, Webhooks). For example: List campaigns; List contact lists; List flows. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Postalytics?
The Postalytics API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See Postalytics 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.