?>

Integrate Mailgun with Agendor

Appy Pie Connect allows you to automate multiple workflows between Mailgun and Agendor

  • No code
  • No Credit Card
  • Lightning Fast Setup
20 Million man hours saved

Award Winning App Integration Platform

About Mailgun

Mailgun is the email automation engine trusted by over millions of websites and application developers for sending, receiving and tracking emails.

About Agendor

Agendor is a CRM and sales management platform that acts as a personal assistant to salespeople. Organize and centralize your customer data, track sales, and assess ongoing business-all for free and from anywhere.

Agendor Integrations

Best ways to Integrate Mailgun + Agendor

  • Mailgun Integration Gmail Integration

    Mailgun + Gmail

    Create Draft to Gmail from New Unsubscriber in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    Gmail Integration Create Draft
  • Mailgun Integration Gmail Integration

    Mailgun + Gmail

    Send Email in Gmail when New Unsubscriber is created in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    Gmail Integration Send Email
  • Mailgun Integration Gmail Integration

    Mailgun + Gmail

    Create Label to Gmail from New Unsubscriber in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    Gmail Integration Create Label
  • Mailgun Integration Google Sheets Integration

    Mailgun + Google Sheets

    Create Spreadsheet Row to Google Sheets from New Unsubscriber in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    Google Sheets Integration Create Spreadsheet Row
  • Mailgun Integration Google Sheets Integration

    Mailgun + Google Sheets

    Update Spreadsheet Row in Google Sheets when New Unsubscriber is created in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    Google Sheets Integration Update Spreadsheet Row
  • Mailgun Integration {{item.actionAppName}} Integration

    Mailgun + {{item.actionAppName}}

    {{item.message}} Read More...
    Close
    When this happens...
    {{item.triggerAppName}} Integration {{item.triggerTitle}}
     
    Then do this...
    {{item.actionAppName}} Integration {{item.actionTitle}}
Connect Mailgun + Agendor in easier way

It's easy to connect Mailgun + Agendor without coding knowledge. Start creating your own business flow.

    Triggers
  • New Subscriber

    Triggers whenever a new subscriber is added.

  • New Unsubscriber

    Triggers when a current subscriber unsubscribed.

  • Deal Lost

    Triggers when a Deal (Negócio) is set as lost.

  • Deal Stage Changed

    Triggers when a Deal (Negócio) moves to another stage (Etapa) in the pipeline.

  • Deal Won

    Triggers when a Deal (Negócio) is set as won.

  • New Deal

    Triggers when a new Deal (Negócio) is created.

  • New Organization

    Triggers when a new Organization (Empresa) is created.

  • New Person

    Triggers when a new Person (Pessoa) is created.

  • New Task

    Triggers when a new Task (Tarefa/Comentário) is created.

  • Updated Deal

    Triggers when a Deal (Negócio) is edited

  • Updated Organization

    Triggers when an Organization (Empresa) is edited.

  • Updated Person

    Triggers when a Person (Pessoa) is edited.

    Actions

Compliance Certifications and Memberships

Highly rated by thousands of customers all over the world

We’ve been featured on

featuredon
Page reviewed by: Abhinav Girdhar  | Last Updated on July 01, 2022 5:55 am

How Mailgun & Agendor Integrations Work

  1. Step 1: Choose Mailgun as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick Agendor as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from Mailgun to Agendor.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of Mailgun and Agendor

Mailgun

Mailgun is a third-party email service provider that allows you to send and receive emails through API. Mailgun also has an SMTP server which allows you to send and receive emails from your application. The main purpose of Mailgun is to help you manage the spam protection for your email campaigns. Mailgun was founded by Ben Chestnut and Dan Kurzius in 2009. They are known as the co-founders of another tech company, MailChimp.

Agendor

Agendor is an open source web-based frontend project management top. It is a single page web application using AngularJS. Agendor supports all major functionalities of project management such as task management, timesheet, file sharing, Kanban boards and so on. It allows you to create projects and add tasks under each project. You can assign tasks to different users and track the progress of tasks. It supports all major browsers including Google Chrome, Mozilla Firefox, Internet Explorer and Safari. Agendor uses MySQL to store data on the database.

Integration of Mailgun and Agendor

The process of integration of Mailgun and Agendor consists of three main steps. sending emails from Agendor via Mailgun, receiving emails from Mailgun into Agendor and managing the spam protection for the emails sent by Agendor.

Mailgun provides a simple API for sending emails from your applications. For example, if you want to send an email to [email protected], you can use the fplowing code:

https://api.mailgun.net/v2/[email protected]/messages.json?auth_key=DEMO_KEY&[email protected]&[email protected]&subject=Test%20message&body=Hello%20World!&attachments[0]=./1/greetings_icon.png

In this case, “[email protected]” is the recipient’s email address and “DEMO_KEY” is Mailgun’s API key. You can get the DEMO_KEY by signing up with Mailgun. The above code sends an email with the subject “Test message” and the body “Hello World!” to John at example.com with an attachment greetings_icon.png . If you want to attach additional files to your email, you can simply specify their paths as shown in the above example. Besides that, you can also send plain text messages by setting the contentType to “text/plain” . The attachments are optional parameters which do not have to be specified if you don’t want any attachments in your message.

The above code does not send an email straight away. Instead, it cplects all of the information about an email campaign and then sends it to Mailgun’s SMTP server for delivery to recipients’ inboxes. The response received by your code will contain the Message ID which can be used to track the status of your email campaign. The API call will return a response with a 200 status code if everything goes fine and there are no problems while sending out the email campaign or it will return a 400 status code with an error message if something wrong happened during the delivery process. If there are no problems during the delivery process, then you should be able to see your email campaign in your inbox if you are checking your inbox regularly or if you are using mail programs like Outlook or Thunderbird which are connected to your mailbox account that receives emails from Mailgun’s SMTP server for delivery.

To receive emails from Mailgun in Agendor, you can use the fplowing code:

https://app.agonistica.com/projects/{project_id}/emails?auth_key=DEMO_KEY&domain=example.com&api_version=1&status=sent&filter_on_domain=true&filter_on_authorization=true

In this case, “example.com” is the domain name which you want to receive emails from Mailgun’s SMTP server into Agendor and “DEMO_KEY” is Mailgun’s API key again which can be found in your app settings under “General settings” in your dashboard on Mailgun website.

The above code will return an array of objects with information about incoming emails into Agendor from Mailgun’s SMTP server based on the filter criteria that you have specified in the filter_on_domain and filter_on_authorization parameters (the default value of those parameters is true . The filter criteria specified in filter_on_domain will only return objects that have been sent from the given domain name whereas filter_on_authorization will only return objects that have been sent from the given authorization key (which we specified as DEMO_KEY in our case. The filter parameters should be specified as true for both of them if you want to get all of the incoming emails into Agendor regardless of whether they come from a given domain name or a given authorization key or not (this is set as false by default. If we run this code using DEMO_KEY , then it will return an array of objects which contains information about all of the incoming emails into Agendor except those coming from Mailgun’s servers because we did not specify filter_on_domain as true . By default, filter_on_domain is set as true and filter_on_authorization is set as false . We can change this by changing parameter values when we call this method (for example filter_on_authorization=false . This method returns an array of objects containing information about all of the incoming emails into Agendor except those coming from Mailgun’s servers because we did not specify filter_on_domain as true . Each object returned by this method contains information about only one incoming email including its sender’s address ( sender ), its subject line ( subject . and its content ( content . An object returned by this method also contains an array of attachment objects which contains information about all of its attachments (attachments. including their names ( name ), their sizes ( size . and their locations ( location . This method returns an array containing all of the attachments in a separate object so that we can easily iterate over them and access individual attachments later on if we want to do that without making further API calls (in other words, we can access them without having to run another query.

Benefits of Integration of Mailgun and Agendor

Integration of Mailgun and Agendor has many benefits for both users and developers alike. Let us take a look at some of them:

The process to integrate Mailgun and Agendor may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.