Use your Sparkpost Account

You can use your Sparkpost account to send email through Customer.io with no loss in functionality. To take advantage of Sparkpost, you need to do two things:

  1. Point Sparkpost’s webhooks at Customer.io.
  2. Configure Sparkpost as a custom SMTP server in Customer.io.

Point Sparkpost’s webhooks at Customer.io

  1. Go to Sparkpost’s webhooks page.

  2. Enter the webhook URL corresponding to your Customer.io account region for every domain you want to send email from in Customer.io.

    • US: https://track.customer.io/sparkpost/events
    • EU: https://track-eu.customer.io/sparkpost/events
  3. Click Select individual events and select the events you want to report to Customer.io. Do not select Open or Click events.

     Do not send Click or Open webhooks to Customer.io

    Customer.io already tracks this information. If you send these webhooks, we’ll record each event twice (once natively in Customer.io and again via Sparkpost webhook).

Example webhook config
Example webhook config

If you want to track opens and clicks via Sparkpost only, you can change tracking settings on an email by email basis.

Create a new SMTP delivery key

Before you can configure Sparkpost as a Custom SMTP server in Customer.io, you need to generate a Sparkpost API token.

  1. Go to the Sparkpost API keys page.
  2. Create a new key for use in Customer.io.
    Sparkpost create API key
    Sparkpost create API key
  3. Save or copy the generated key as you will need it for configuring your SMTP in Customer.io, and can only access it once!
    Sparkpost API key created
    Sparkpost API key created

Configure custom SMTP settings

Before you begin, you need your Sparkpost API key. If you don’t have your API key, you can generate a new key. This integration uses port 587. If you need to use a different port, you should use a custom SMTP integration.

  1. Go to Settings > Workspace Settings.

  2. Click Email, click Custom SMTP Settings, and then click Add Custom SMTP Server.

    Custom SMTP settings page
    Custom SMTP settings page

  3. Select Sparkpost and click Continue to set up.

  4. If you haven’t set up webhooks yet, copy the URL on the Set up webhooks tab and then set up webhooks to report message metrics in Customer.io.

  5. Click Add Credentials and enter your Sparkpost credentials.

    Adding one custom SMTP server.png
    Adding one custom SMTP server.png

  6. Click Finish set up. Your account is now set up to send email through Sparkpost. If you have any questions or feedback, contact us and we’ll be happy to help!

 Configure multiple servers to use both transactional and broadcast streams

If you have a Premium Customer.io plan, you can configure multiple custom SMTP servers and assign one to each of your Sparkpost server types.

Copied to clipboard!
  Contents
Is this page helpful?