---
title: "Compose a webhook for a triggered experiment"
slug: "compose-a-webhook-for-a-triggered-experiment"
abstract: "Describes how to send personalized data to an external destination for a triggered experiment."
---
# Compose a webhook for a triggered experiment

To get started creating a triggered experiment, you must choose a destination to send the personalized data. This is typically to an external destination, such as Sitecore Send or an Email Service Provider (ESP).

To compose a webhook:

1. On the experiment builder, click **Configure API request**.
2. In the **Connection** pane, click the connection to send the output of the triggered experiment. For example, if you are configuring an Abandoned Cart email message, click the Email Service Provider (ESP) that distributes the email messages.
3. In the **API** editor, [compose the API request for a triggered experiment](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/introduction-to-experiments-in-sitecore-personalize/introduction-to-triggered-experiments-in-sitecore-personalize/compose-the-api-request-for-an-experiment.html "Compose the API request for an experiment") to include any offers, content or personalization you want sent to the webhook destination.
4. Click **Save**.