Collect emails on Twitter

Introduction

Using a newsletter is a great way to attract leads and customers. You’re probably used to seeing a form to sign up for a newsletter and might already have connected forms on your website.

But did you know that you could collect emails directly from your Twitter profile? Twitter’s own newsletter service called Revue offers an integration to collect signups with a single click.

With the following methods described below, you’ll be able to collect emails from your Twitter profile and send them messages from your Customer.io workspace.

A Twitter profile with the Revue One-Click Subscribe button enabled
A Twitter profile with the Revue One-Click Subscribe button enabled

Ingredients

Method

First, sign up for a Revue account with your Twitter profile at getrevue.co.

Click on “Start a newsletter for free” and go through the signup process.

The GetRevue.co website homepage
The GetRevue.co website homepage

Then, enable the newsletter subscribe from the Twitter integration page.

The GetRevue.co Twitter integration settings page with the desired setting highlighted
The GetRevue.co Twitter integration settings page with the desired setting highlighted

While the changes are being applied to your Twitter profile, you can change the preview data that will be displayed on your profile on your account page.

Finally, you can now configure the integration of Revue with Customer.io through Zapier. We describe below two methods of integration.

Basic Method

In this method, we’ll use the native Zapier integration to “Add or update” a customer in Customer.io

  1. add Revue as a trigger.

    Step 1 of the Zapier integration: Select Revue for the App Event
    Step 1 of the Zapier integration: Select Revue for the App Event

  2. Select “New Subscriber” as the Trigger Event.

    Step 2 of the Zapier integration: Select New Subscriber as the Trigger Event
    Step 2 of the Zapier integration: Select New Subscriber as the Trigger Event

  3. Test the trigger.

    Step 3 of the Zapier integration: Test the trigger
    Step 3 of the Zapier integration: Test the trigger

  4. Select Customer.io for the App Event.

    Step 4 of the Zapier integration: Select Customer.io for the App Event
    Step 4 of the Zapier integration: Select Customer.io for the App Event

  5. Select “Create or Update a Person” as the Action Event.

    Step 5 of the Zapier integration: Select Create or Update a Person as the Action Event
    Step 5 of the Zapier integration: Select Create or Update a Person as the Action Event

  6. Use the ID from Revue for the id of the person in Customer.io.

    Step 6 of the Zapier integration: Use the ID from Revue for the id of the person in Customer.io
    Step 6 of the Zapier integration: Use the ID from Revue for the id of the person in Customer.io

     Beware of duplicate profiles

    For this template, we’re using the Revue ID as a user id because our Zapier integration requires it. If your workspace is id-only, you can potentially create duplicate profiles in your workspace (one email address associated with two unique id values). If your workspace is email-or-id, and the email address in your request already exists, this step will fail.

    You can add another step in your Zap to check if the email is already associated with a user in the workspace before this step to prevent these issues.

  7. Add the email address from Revue in the Email Address field. You can also add other relevant attributes like the source of that person.

    Step 7 of the Zapier integration: Add the email address in the Email Address field as well as relevant attributes
    Step 7 of the Zapier integration: Add the email address in the Email Address field as well as relevant attributes

  8. Verify that the action works and enable the Zap.

    Step 8 of the Zapier integration: Verify that the action works
    Step 8 of the Zapier integration: Verify that the action works

Advanced Method — Forms API

In this method, we’ll use our Forms API endpoint to add or update subscribers to Customer.io. This requires your workspace type to be configured as email-or-id.

Using this process, your subscribers are automatically added to a Segment, and you can easily trigger a Campaign when they’re subscribing.

To get started, Follow Steps 1 to 3 of the Basic Method above

  1. Select Webhooks by Zapier as the App Event.

    Step 1 of the advanced Zapier integration: Select Webhooks by Zapier as the App Event
    Step 1 of the advanced Zapier integration: Select Webhooks by Zapier as the App Event

  2. Select “Custom Request” as the Action Event.

    Step 2 of the advanced Zapier integration: Select Custom Request as the Action Event
    Step 2 of the advanced Zapier integration: Select Custom Request as the Action Event

  3. Edit the Method, URL, Data, and Headers fields.

    • Select the POST method and add the URL of the Forms API endpoint with an identifiable id like https://track.customer.io/api/v1/forms/revue-twitter-button/submit.
    • Add the content as a nested JSON.
    • Add an Authorization Header with a Basic Auth.
    Step 3 of the advanced Zapier integration: Edit the Method, URL, Data, and Headers fields
    Step 3 of the advanced Zapier integration: Edit the Method, URL, Data, and Headers fields
  4. Verify that the action works and enable the zap.

    Step 4 of the advanced Zapier integration: Verify that the action works
    Step 4 of the advanced Zapier integration: Verify that the action works

Wrap Up

This is a great way to increase your audience by leveraging a frictionless source of subscribers right from your Twitter profile.

If you’ve used the Advanced Method above, why not go a step further and trigger a Campaign from the form submission to welcome these new subscribers?

Copied to clipboard!