?>

Integrate Mailgun with StoryChief

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

  • 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 StoryChief

StoryChief is a Content Marketing Software that helps entrepreneurs, SEO marketers, and editorial teams expand their reach.

StoryChief Integrations

Best ways to Integrate Mailgun + StoryChief

  • Mailgun Integration StoryChief  Integration

    Mailgun + StoryChief

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

    Mailgun + StoryChief

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

    Mailgun + StoryChief

    Create or Update Contact to StoryChief from New Unsubscriber in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Unsubscriber
     
    Then do this...
    StoryChief  Integration Create or Update Contact
  • Mailgun Integration StoryChief  Integration

    Mailgun + StoryChief

    Create Story to StoryChief from New Subscriber in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Subscriber
     
    Then do this...
    StoryChief  Integration Create Story
  • Mailgun Integration StoryChief  Integration

    Mailgun + StoryChief

    Create User to StoryChief from New Subscriber in Mailgun Read More...
    Close
    When this happens...
    Mailgun Integration New Subscriber
     
    Then do this...
    StoryChief  Integration Create User
  • 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 + StoryChief in easier way

It's easy to connect Mailgun + StoryChief 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.

  • New Contact

    Triggers when a new contact is added to a list.

  • New or Updated Contact

    Triggers when a contact is added or updated in a list.

  • Published Story

    Triggers when a story is published.

  • Published or Updated Story

    Triggers when a story is published or updated.

    Actions
  • Create Story

    Creates a new draft story.

  • Create User

    Creates a new user inside your account.

  • Create or Update Contact

    Creates a new contact inside a list or updates it if it already exists.

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 & StoryChief 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 StoryChief 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 StoryChief .

    (2 minutes)

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

Integration of Mailgun and StoryChief

Mailgun is a service that handles “email as a service”. The user can send and receive emails through the API of Mailgun. The user can also retrieve data such as “logs”, “subscriptions”, and “databases” through the API of Mailgun.

StoryChief is an online service that allows users to create and publish digital stories. They have their own API so that users can integrate StoryChief service into their applications.

In this article, I will describe integration of Mailgun and StoryChief by showing two examples on how to use Mailgun API to send email messages and retrieve StoryChief API to retrieve stories.

The first example shows how to use Mailgun API to send mail messages. This example does not require user authentication because it does not need to authenticate itself with StoryChief.

The second example uses OAuth authentication to authenticate with StoryChief. It requires the user to authorize the application by using a special URL. After the user authorizes, the application is authorized to access StoryChief API. The application can communicate with StoryChief API using the authorization token received from StoryChief. In this example, the application knows your personal information such as your username. You all should be careful to prevent this app from leaking your data or sending fake emails to people you know.

Example 1. Mailgun API without Personal Authentication

To send mails using Mailgun API, first create an account on https://www.mailgun.com/signup/. Click on Documentation link and scrpl down to find list of APIs:

Click on SMTP API and you will see the general interface for SMTP API (as shown below. Use the information in this site and try to find specific information about SMTP API such as how to send email messages (right side of page. and how to retrieve lists of sent mails (bottom of page):

Use PHP for this example (and for other examples. Here is the code for sending mails using Mailgun SMTP API:

<?php

//get Session ID from Mailgun website

//create array of info and pass it to Mailgun function

$info = array();

$info['to'] = '[email protected]'; //destination email address

$info['from'] = '[email protected]'; //sender's email address

$info['subject'] = 'Hellow World!'; //message subject line

$info['text'] = 'Hello World!'; //message body

$info['html'] = '<b>Hello World!</b>'; //message body HTML

$info['headers'] = array( //additional headers if you want

'X-Mailgun-Key' => '<a rel="nofollow" href="http://api.mailgun.net/signup/XXXXXXX" target="_blank">YOUR KEY</a>',

'Content-Type' => 'text/plain; charset=UTF-8',

);

//use Mailgun function to send email

$result = mailgun_mail($info);

if($result === false. { //check result status

echo "Mail sending failed";

} else { //to see message details, go to Mailgun website

echo "Sending mail successfully"; //message details are available at URL in $result like http://api.mailgun.net/v3/XXXXXX/messages/XXXXXX/XXXXXX

The process to integrate Mailgun and StoryChief 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.