Track this conversation in Segment

This customer’s email shows up as an event in Segment.

Fernand fills in ${contact_name}, ${subject}, and ${url} when this runs.

When you are writing the reply

Segment’s HTTP API wants the write key as basic auth. The snippet therefore points at a hop, which calls track with the event name support_conversation and the Fernand URL as a property.

Use the PostHog rule if you want every conversation. Use /segment when only some threads should hit the pipeline.

How to add this snippet

  1. Have the hop POST to Segment’s track endpoint with your write key.
  2. Short name segment.
  3. Find the event in the Segment debugger.

While you set this up

The whole library

Also in Send to a tool