# How to setup Replies in MailGun

> In this article, "How to Setup Replies in Mailgun," you'll learn how to configure Mailgun in GHL Customer Care to effectively manage email replies. The…

- Source: https://docs.ghlcustomercare.com/docs/email/mailgun/how-to-setup-replies-in-mailgun
- Section: Email / MailGun
- Reading time: 2 min
- Images: 5, each explained below
- Modified on Fri, 27 Sep, 2024 at 12:47 PM

---
In this article, "How to Setup Replies in Mailgun," you'll learn how to configure Mailgun in GHL Customer Care to effectively manage email replies. The guide walks you through the essential steps for setting up webhooks, ensuring that replies to your messages are captured accurately. Additionally, it highlights the importance of domain authentication and offers troubleshooting tips to help you resolve common issues, allowing you to enhance your email communication and engagement.

**TABLE OF CONTENTS**

-   [Check Receiving Routes in Mailgun](#check-receiving-routes-in-mailgun)
-   [Resetting the Mailgun API key](#resetting-the-mailgun-api-key)
-   [Frequently Asked Questions](#frequently-asked-questions)
-   [Related Articles](#related-articles)

---

# **Check Receiving Routes in Mailgun**

1\. Once you log on to Mailgun, Click on [Receiving](https://app.mailgun.com/app/receiving/routes) tab and see if the webhook matches the screenshot below:

![Check Receiving Routes in Mailgun (image 1 of 5)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155033707593/original/fd0wTZ07sBwMIEdtEVdYcbE0SeDDcznShw.jpg)

**Check Receiving Routes in Mailgun (image 1 of 5)**

This screenshot appears in the "Check Receiving Routes in Mailgun" section of "How to setup Replies in MailGun". The text alongside this image reads: 1. Once you log on to Mailgun, Click on Receiving tab and see if the webhook matches the screenshot below. Immediately after, the guide continues: 2. If the agency had the client get their own Mailgun account and the forward link needs to be white-labeled, they can use the webhook in the screenshot below.
- What to click: 1. Once you log on to Mailgun, Click on Receiving tab and see if the webhook matches the screenshot below:
- Controls: white-labeled, Create Route
- Next: 2. If the agency had the client get their own Mailgun account and the forward link needs to be white-labeled, they can use the webhook in the screenshot below:

2\. If the agency had the client get their own Mailgun account and the forward link needs to be **white-labeled**, they can use the webhook in the screenshot below:

![Check Receiving Routes in Mailgun (image 2 of 5)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155033707619/original/kbUNBKsda7HGIPWZ1KrvV9YRJUceB_LH5A.jpg)

**Check Receiving Routes in Mailgun (image 2 of 5)**

This screenshot appears in the "Check Receiving Routes in Mailgun" section of "How to setup Replies in MailGun". The text alongside this image reads: 2. If the agency had the client get their own Mailgun account and the forward link needs to be white-labeled, they can use the webhook in the screenshot below. Immediately after, the guide continues: 3. If there are other webhooks that do not match the one in the screenshot, try removing them and see if it will fix the issue.
- What this covers: 2. If the agency had the client get their own Mailgun account and the forward link needs to be white-labeled, they can use the webhook in the screenshot below:
- Controls: white-labeled, Create Route
- Next: 3. If there are other webhooks that do not match the one in the screenshot, try removing them and see if it will fix the issue.

3\. If there are **other webhooks that do not match the one in the screenshot, try removing them** and see if it will fix the issue. 

4\. If there is no webhook there (should look like what's below), click on **Create Route**

![Check Receiving Routes in Mailgun (image 3 of 5)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155033707623/original/fb0gf-ysONRhDiyVPaI5cxaWQ5jnM-kIDQ.jpg)

**Check Receiving Routes in Mailgun (image 3 of 5)**

This screenshot appears in the "Check Receiving Routes in Mailgun" section of "How to setup Replies in MailGun". The text alongside this image reads: 4. If there is no webhook there (should look like what's below), click on Create Route. This part of the guide covers 3 fields, listed below. Immediately after, the guide continues: Expression Type: Catch All Enable Forward: Paste this " https://services.l*e*a*d*connectorhq.com/conversations/providers/mailgun/webhook/inbound " in the Forward section and REMOVE the **** in the URL Priority = 99 Description….
- What to click: 4. If there is no webhook there (should look like what's below), click on Create Route
- Fields: Expression Type: Catch All, Priority = 99, Description: GHL Customer Care Route
- Next: Expression Type: Catch All Enable Forward: Paste this " https://services.l*e*a*d*connectorhq.com/conversations/providers/mailgun/webhook/inbound " in the Forward section and REMOVE the **** in the URL Priority = 99 Description: GHL Customer Care Route Click Save

Full procedure:

1. Expression Type: Catch All
2. Enable Forward: Paste this " https://services.l*e*a*d*connectorhq.com/conversations/providers/mailgun/webhook/inbound " in the Forward section and REMOVE the **** in the URL
3. Priority = 99
4. Description: GHL Customer Care Route
5. Click Save

[](https://login.mailgun.com/login/)[](https://app.mailgun.com/app/receiving/routes)

5\. Configure the following:

-   Expression Type: Catch All
-   Enable Forward: Paste this "[https://services.l\*e\*a\*d\*connectorhq.com/conversations/providers/mailgun/webhook/inbound](https://services.l*e*a*d*connectorhq.com/conversations/providers/mailgun/webhook/inbound)" in the Forward section and REMOVE the \*\*\*\* in the URL
-   Priority = 99
-   Description: GHL Customer Care Route  
    
-   Click Save

![Check Receiving Routes in Mailgun (image 4 of 5)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/48283735295/original/izEVoHQUsSJAduHwz4KHvgtWutiAmiOuTw.png)

**Check Receiving Routes in Mailgun (image 4 of 5)**

This screenshot appears in the "Check Receiving Routes in Mailgun" section of "How to setup Replies in MailGun". The text alongside this image reads: Expression Type: Catch All Enable Forward: Paste this " https://services.l*e*a*d*connectorhq.com/conversations/providers/mailgun/webhook/inbound " in the Forward section and REMOVE the **** in the URL Priority = 99 Description: GHL Customer Care Route Click Save. This part of the guide covers 3 fields, listed below. Immediately after, the guide continues: Agency view > Settings > Email Services > Location Settings > Edit the Mailgun API integration for the sub-account > type Delete.
- What to fill in: Expression Type: Catch All Enable Forward: Paste this " https://services.l*e*a*d*connectorhq.com/conversations/providers/mailgun/webhook/inbound " in the Forward section and REMOVE the **** in the URL Priority = 99 Description: GHL Customer Care Route Click Save
- Fields: Expression Type: Catch All, Priority = 99, Description: GHL Customer Care Route
- Next: Agency view > Settings > Email Services > Location Settings > Edit the Mailgun API integration for the sub-account > type Delete

Full procedure:

1. Expression Type: Catch All
2. Enable Forward: Paste this " https://services.l*e*a*d*connectorhq.com/conversations/providers/mailgun/webhook/inbound " in the Forward section and REMOVE the **** in the URL
3. Priority = 99
4. Description: GHL Customer Care Route
5. Click Save

# **Resetting the Mailgun API key**

Agency view > Settings > Email Services > Location Settings > Edit the Mailgun API integration for the sub-account > type Delete

And then re-integrate again: [Mailgun API Key - Where to Find in Mailgun & Put in GHL Customer Care](https://docs.ghlcustomercare.com/docs/email/mailgun/mailgun-private-api-key-setup)

Once it's done, refresh the Receiving page in Mailgun to see if the hook was created

![Resetting the Mailgun API key (image 5 of 5)](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155033707818/original/WLRTYVcc530QbHLxarAZTpxkutOxTfMcNA.jpg)

**Resetting the Mailgun API key (image 5 of 5)**

This screenshot appears in the "Resetting the Mailgun API key" section of "How to setup Replies in MailGun". The text alongside this image reads: Once it's done, refresh the Receiving page in Mailgun to see if the hook was created. Immediately after, the guide continues: 1. What is the difference between Mailgun replies and regular email replies? Mailgun replies are specifically managed through the Mailgun API and are designed to streamline email handling for applications. Regular email replies are….
- What this covers: Once it's done, refresh the Receiving page in Mailgun to see if the hook was created
- Next: 1. What is the difference between Mailgun replies and regular email replies? Mailgun replies are specifically managed through the Mailgun API and are designed to streamline email handling for applications. Regular email replies are handled through standard email clients without the automation features offered by Mailgun.

---

# **Frequently Asked Questions**

**1\. What is the difference between Mailgun replies and regular email replies?** Mailgun replies are specifically managed through the Mailgun API and are designed to streamline email handling for applications. Regular email replies are handled through standard email clients without the automation features offered by Mailgun.

**2\. Can I set up automatic responses for specific types of replies?** Yes, you can configure automatic responses in your Mailgun settings based on specific triggers or keywords in the replies. This feature can help manage customer inquiries more efficiently. 

**3\. How do I troubleshoot issues with email replies not appearing in Mailgun?** If email replies are not appearing, first check your Mailgun configuration settings, ensure your webhooks are set up correctly, and verify that your domain is properly authenticated. You can also review your logs for any errors.

**4\. Are there any limits on the number of replies I can receive through Mailgun?** Mailgun has usage limits based on your subscription plan. Be sure to check your plan details to understand any restrictions on the number of replies or messages you can handle.

**5\. How can I ensure my replies are secure and compliant with email regulations?** To maintain security and compliance, make sure you follow best practices for email authentication (like SPF and DKIM) and monitor your email activity. Familiarize yourself with regulations such as GDPR or CAN-SPAM to ensure your processes align with legal requirements.

---

# **Related Articles**

-   [](https://docs.ghlcustomercare.com/docs/calendars-and-appointments/calendar-integrations/integrating-google-with-ghl-customer-care-calendars)**[](https://docs.ghlcustomercare.com/docs/email/troubleshooting-email/when-email-replies-are-not-showing-up-in-conversation)**[](https://docs.ghlcustomercare.com/docs/email/troubleshooting-email/when-email-replies-are-not-showing-up-in-conversation)[When email replies are not coming back to the Conversation](https://docs.ghlcustomercare.com/docs/email/troubleshooting-email/when-email-replies-are-not-showing-up-in-conversation)[](https://docs.ghlcustomercare.com/docs/email/troubleshooting-email/when-email-replies-are-not-showing-up-in-conversation)**[](https://docs.ghlcustomercare.com/docs/email/troubleshooting-email/when-email-replies-are-not-showing-up-in-conversation)**

---

Documentation for GHL Customer Care. Support: support@ghlcustomercare.com