Skip to main content
Two ways to start an automation from your code.

Add a tag

The most flexible one. Create an automation triggered by A tag is added, then add the tag:
The tag stays visible on the record, serves segments, and taking it off again ("remove") can be the goal that ends the journey.

Put someone in directly

When the event makes no sense as a tag, call the automation itself. Find its id first:
Then put the person in:
This call works whatever the trigger of the automation is.
  1. If the address is not on the automation’s list, it is subscribed there, without a confirmation e-mail.
  2. The person enters the journey, and the first actions run at once.
Since the person is subscribed without confirmation, call this route only for people who have agreed to hear from you.

And without a token?

The A webhook is called trigger gives the automation a secret address, usable from a no-code tool (Zapier, Make, n8n). See Triggers. From your own server, prefer the API: a token is revoked, a secret address has to be changed.