Skip to main content
Mailgun Complete LangChain Agent Example and keep the Agent process running.

1. Create the Channel

In Channels, choose Mailgun. Enter the domain, API credential, webhook signing credential, response type, and From address. GroundForge verifies Mailgun signatures by default. Attach the Channel to the weather Agent and publish the Agent.

2. Configure the callback

Copy the callback shown by GroundForge after publishing:
Use it as the Mailgun Route destination.
Screenshot placeholder
Add /images/guides/mailgun-callback.png showing the GroundForge callback and matching Mailgun Route.

3. Preview the delivery test

4. Send the test

Run the same command without --dry-run.

5. Follow the request

Open Traces and confirm the email input, Agent execution, get_weather, Gateway decision, and final email delivery. For signed callback troubleshooting:
Last modified on July 27, 2026