Skip to content
Mailgun logo

Mailgun integration

Email delivery service for sending, receiving, and tracking emails. Use Mailgun from Zoft voice agents, chat agents, workflows and AI employees.

  1. Starts withNew Open Event
  2. ZoftAgent or workflow decides what happens next
  3. Then in MailgunSend Email
  4. AndAdd Mailing List Member
Illustrative flow built from Mailgun’s real triggers and actions.

Zoft + Mailgun

What Zoft can do with Mailgun.

  • 01Voice agentsA phone agent can use Mailgun actions such as Send Email and Add Mailing List Member during the call, then hand off to a person when it should.
  • 02Chat agentsThe same agent on web chat, WhatsApp or SMS can look up and update Mailgun while it talks to the customer.
  • 03WorkflowsStart a workflow when “New Open Event” happens in Mailgun, or use Mailgun as any step on the canvas.
  • 04AI employeesAn AI employee can find and use Mailgun actions on its own, and ask for your approval before it sends or changes anything important.

Actions 9

Things Zoft can do in Mailgun.

  • Get EventsRetrieve email events from your Mailgun domain (deliveries, failures, opens, clicks, etc.). Useful for monitoring and alerting.
  • Send EmailSend an email using your Mailgun domain
  • List BouncesRetrieve the list of bounced email addresses for a Mailgun domain. Useful for cleanup after delivery issues or spam attacks.
  • Validate EmailValidate an email address using Mailgun validation service. Requires a Mailgun account with email validation enabled.
  • Custom API CallMake a custom API call to a specific endpoint
  • Get Domain StatsRetrieve aggregated email statistics for a Mailgun domain (delivered, failed, opened, etc.). Useful for monitoring delivery health and detecting anomalies.
  • Get Domain HealthFetch the health of a Mailgun domain: current state, whether it has been disabled, and DNS verification status for sending and receiving records.
  • Delete Bounces (Bulk)Remove bounced addresses from the Mailgun suppression list, either all at once for a domain or a single address.
  • Add Mailing List MemberAdd a new member to a Mailgun mailing list

Triggers 8

Events in Mailgun that can start a workflow.

  • New Open EventTriggers when a recipient opens an email in Mailgun
  • New Click EventTriggers when a recipient clicks a tracked link in an email in Mailgun
  • New Bounce EventTriggers when an email permanently fails to deliver (hard bounce) in Mailgun
  • New Delivery EventTriggers when an email is successfully delivered in Mailgun
  • New Complaint EventTriggers when a recipient reports an email as spam in Mailgun
  • New Unsubscribe EventTriggers when a recipient unsubscribes from emails in Mailgun
  • New Failed Delivery EventTriggers when an email temporarily fails to deliver in Mailgun (will be retried)
  • Bulk Bounce Threshold ExceededTriggers once when too many emails bounce within a set time period. Useful for catching spam attacks or deliverability problems early.

Setup

Connect Mailgun in three steps.

  1. 01ConnectChoose Mailgun in Connections and enter the account details Mailgun asks for, such as a store name or token.
  2. 02Put it to workAdd Mailgun as a workflow step, or let a voice agent, chat agent or AI employee use it as a tool.
  3. 03Review every runAdd approvals where you want a person in the loop. Every run leaves a record you can check.
See all in Marketing

FAQ

Mailgun on Zoft, answered.

What can Zoft do with Mailgun?

Zoft supports 9 actions and 8 triggers for Mailgun. You can use them as workflow steps, and voice agents, chat agents and AI employees can call them as tools.

How do I connect Mailgun to Zoft?

Choose Mailgun in Connections and enter the account details Mailgun asks for, such as a store name or token.

Can a voice agent or chat agent use Mailgun?

Yes. Once Mailgun is connected, a voice agent or chat agent can use its actions during a conversation. Permissions control which actions each agent can use.

Can an AI employee work in Mailgun without supervision?

Only as far as you allow. AI employees ask for approval before sensitive steps, and every run leaves a record you can review.

Put Mailgun to work in your operation.