For the complete documentation index, see llms.txt. This page is also available as Markdown.

Segment

Connection

When you're setting up your first workflow with Segment, you'll need to add your Write Key so that your Segment "Source" is a connected app within MESA.

Screenshot of the MESA Segment connection setup, add your Segment Write Key to connect the Source. Spotlight the Write Key field.

First, you will need to set up your Source for MESA to send to. The easiest Source type to use would be the HTTP Tracking API Source.

After the Source is set up, you will have to locate the Write Key for posting to that Source. It can be found on the settings tab or when you first create your Source.

1. From the Segment dashboard, locate the Source under Sources (left hand side bar).

2. Click on Settings and then API Keys. Click on the Copy button next to the Write Key.

3. Paste the Write Key into your MESA workflow's Segment Action and click on Add Connection. Then, you are all set!

Configure

How to send data from Segment to MESA

In order to send Segment data to MESA, first set up a new MESA Workflow, with the trigger as Webhook.

Screenshot of the MESA workflow builder setting up a new workflow with the Webhook trigger. Spotlight the Webhook trigger.

Copy the Host field value from the MESA Trigger and navigate to the Segment dashboard to create a new Webhooks Destination.

Click into Destinations and choose the Webhook Destination you just created, then navigate to the Mappings tab.

Screenshot of the Segment Webhook Destination, navigate to the Mappings tab. Spotlight the Mappings tab.

Once you are inside the mapping, you should see this field to enter the URL for the Webhook.

Screenshot of the Segment Webhook Destination mapping, the field to enter the Webhook URL. Spotlight the URL field.

Last updated