Connectors / Marketing · HTTP Connector
Mailercloud integration and API
Create a contact, create a list and create a campaign in Mailercloud, and start a workflow when Mailercloud sends “Campaign sent”.
What can you do with Mailercloud on Tray.ai?
Mailercloud is an email marketing service for sending campaigns and transactional email, managing contact lists and segments, running automations, and verifying addresses. Tray.ai connects to Mailercloud through the HTTP Connector, so your workflows can call the Mailercloud API alongside the rest of your stack.
- When Mailercloud sends “Hard bounce”, mark the email as invalid in your CRM.
- When Mailercloud sends “Contact unsubscribed”, record the opt-out in your CRM.
- Create or update a contact when a customer signs up in your online store.
- Send a personalized email when your billing system confirms a renewal.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://cloudapi.mailercloud.com/v1
Set it up
Connect Mailercloud to Tray.ai
Each step uses Mailercloud's own API details, from its documentation.
Save Mailercloud's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Point the HTTP Client at the API
Add an HTTP Client step and use https://cloudapi.mailercloud.com/v1 as the base URL. Or paste a cURL example from Mailercloud's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “Get contact details”
It's one of 25 documented actions, under Contacts. The response comes back as data the next step can map into your other apps.
Start workflows from Mailercloud events
Give Mailercloud the URL of a Tray.ai webhook trigger. “Campaign sent” can then start a workflow, and so can 6 other events.
Workflows to build with Mailercloud
Connect Mailercloud with Shopify, Slack, HubSpot and Salesforce
Each one uses actions and events from Mailercloud's own API documentation.
Add Shopify customers to Mailercloud
When
A customer is created in Shopify
Then
- Create or update a contact in the customers list
- Post the new customer to the marketing channel in Slack
Update HubSpot when Mailercloud contacts unsubscribe
When
Contact unsubscribed
Then
- Find the contact in HubSpot by email
- Mark the contact unsubscribed in HubSpot
With HubSpot
Flag Mailercloud hard bounces in Salesforce
When
Hard bounce
Then
- Find the contact in Salesforce by email
- Mark the email as bounced on the contact in Salesforce
With Salesforce
Apps you can build on Mailercloud data
Internal tools your team can build with an AI assistant, each one using Mailercloud calls from its API documentation.
Campaign calendar
Lists campaigns and lets a marketer schedule one or send a test email.
Contact lookup
Shows a contact's details and lets support update them or add a suppression.
Campaign engagement feed
Shows opens, clicks, unsubscribes and spam complaints as they come in.
Mailercloud MCP server for AI agents
Build an MCP server on Mailercloud 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 contact
- List lists
- Create a campaign
- List segments
- Send an email
- Create a webhook
- Create or update a contact
- Get contact details
What the Mailercloud API covers
6 resources and 25 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.
Contacts
- Create a contact
- Create or update a contact
- Get contact details
- Update a contact
- Delete a contact
- Create batch contacts
Lists
- List lists
- Create a list
- Update a list
- Delete a list
Campaigns
- Create a campaign
- List campaigns
- Update a campaign
- Schedule a campaign
- Send a test email
Segments
- List segments
- Create a segment
- Update a segment
- Send an email
- Send a personalized email
- Add suppressions
Webhooks
- Create a webhook
- Update a webhook
- Delete a webhook
- Test a webhook
Events Mailercloud can send to a Tray.ai webhook trigger
- Campaign sent
- Campaign opened
- Campaign clicked
- Contact unsubscribed
- Campaign error
- Marked as spam
- Hard bounce
Checked against Mailercloud's own documentation on 2026-10-22
How Tray.ai makes this work
Mailercloud 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 Mailercloud, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Mailercloud actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Mailercloud 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 Mailercloud?
The Mailercloud API documents 25 actions across 6 resources (Contacts, Lists, Campaigns, Segments, Email, Webhooks). For example: Create a contact; List lists; Create a campaign. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Mailercloud?
The Mailercloud API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Mailercloud events can start a Tray.ai workflow?
Mailercloud sends 7 events to a webhook URL, for example: Campaign sent; Campaign opened; Campaign clicked; Contact unsubscribed; Campaign error; Marked as spam; Hard bounce. A Tray.ai webhook trigger receives them and starts a workflow.
See Mailercloud 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.