> For the complete documentation index, see [llms.txt](https://documentation.crossengage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.crossengage.io/data-and-engagement-platform/messages/integrations/channels/webhooks/zenloop-via-crossengage-webhook/set-up-zenloop-survey-via-esp.md).

# Set up Zenloop Survey via ESP

## **Set Up your zenloop Survey**

* Go to the Collect Page in Zenloop, and choose Email Embed.
* Follow [these steps](https://support.zenloop.com/de/articles/846117-setting-up-email-embedded-channel) to set-up your zenloop Email survey.
* Customise your survey styling using zenloop’s Survey Editor. For more information, [click here](https://support.zenloop.com/de/articles/5520444-customising-your-survey).
* Click next to go the the **Implement** Step.
* Set the Email Marketing Platform as Custom.
* copy the HTML code snippet to use in CrossEngage.

<figure><img src="/files/BjMYbSSIiSSpHALtz11t" alt=""><figcaption></figcaption></figure>

* Setup a campaign in CrossEngage using an email integration and add the HTML code you copied in Step 4.

<figure><img src="/files/idL5hdqQfOKKwtaP0AHh" alt=""><figcaption></figcaption></figure>

* In order to attach Recipient Identities & [Properties](https://support.zenloop.com/de/articles/825164-choosing-your-properties), you must alter each URL in the code (there can be up-to 11, depending on the scale being used) using handlebars. The links must be changed as follows. For more information, see the Zenloop documentation [here](https://support.zenloop.com/de/articles/844530-adding-recipient-identities-and-properties-to-email-embedded-survey).

```
https://responses.zenloop.com/web/response/[Survey-Hash-ID]/email_embed/10?is_a_test=false&identity={{user.[traits.externalId]}}&identity_type=custom&first_name={{user.[traits.firstName]}}&last_name={{user.[traits.lastName]}}&properties[ce_externalId]={{user.[traits.externalId]}}
```

{% hint style="info" %}
You can see the Hash ID for your Zenloop Surveys in Settings -> zenAPI.
{% endhint %}

* Activate and run your Campaign.
