# HubSpot guide

When a user completes a pickzen, all captured information can be sent to a Hubspot list. This includes the lead information, selected answers, and information filled in from form-slides.

Let’s suppose we have a pickzen with these three slides:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2F8xXZWR7vtpPRhAJl5r3k%2Fimage.png?alt=media\&token=38f040c5-ec45-40e6-bf50-ced61fc84c7b)

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2FohiRQTZXw8kkAmBPUZP7%2Fimage.png?alt=media\&token=9850ddf7-54de-4019-a825-e7412d708a68)

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2Fl4D5cShOlUP5eQzrnTNT%2Fimage.png?alt=media\&token=d9b6c5d2-5b21-496a-a2ca-09a713367108)

To send your leads and user preferences to Hubspot, follow these steps:

Click on the field settings for *E-mail* and *Name* fields:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2Fpg6yyd86eynRVXX7ldP1%2Fimage.png?alt=media\&token=183bb433-a2e3-4e3d-8f58-151e1e0688ef)

Go to the Advanced tab and set the keys as *email* and *firstname* to map these answers to the corresponding Hubspot field properties:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2FGmkBqbIz6Fg27Hix4RMG%2Fimage.png?alt=media\&token=08f1c9af-2720-4194-985d-33ca9bbcde05)

Go to the second slide and click on the answer settings for the *Underage* *Yes answer*:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2FhCnfRtlCNisb97mbSGT5%2Fimage.png?alt=media\&token=ce401798-7ed4-4214-9b62-45fa31cfc4e5)

Go to the Advanced tab and set the *underage* key in the *Answer key* field:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2FR5bIol9PefyplnWvmk5u%2Fimage.png?alt=media\&token=7f160db0-dae7-4b21-8351-e1c542df5ede)

Finally, do the same with each of the three *Likes* answers and set their keys as *action*, *comedy,* and *drama*.

Once configured all answers and fields, publish the Assistant, exit the editor and go the Hubspot integration:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2FwgBuMHVyEikjA8S0X1jt%2Fimage.png?alt=media\&token=02e4d13d-17c4-455e-98a7-874328f128e0)

Click on Add integration to create a new one and select the Assistant you want to integrate, enter your HubSpot API Key, the List ID where you want to send your leads, and the keys you configured previously:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2F4GRub67VJBwDQqSm2ycf%2Fimage.png?alt=media\&token=f835895e-6ef8-4f73-89d3-12057a356a4e)

In this example, we are sending the email, firstname and underage values as separated fields to HubSpot, and the action, comedy, and drama values combined as a HubSpot custom field named *likes*.&#x20;

{% hint style="warning" %}
Custom HubSpot fields like "underage" and "likes" must be created in HubSpot, otherwise, the lead will not be registered in HubSpot.
{% endhint %}

Once a lead is received, the lead Contact Information panel in HubSpot will display the entered information:

![Entered user email](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-M22e03YzTyAy0ZhS-CU%2F-M22kTiU4DY9mYYq6_Tg%2Fimage.png?alt=media\&token=76eededb-9a59-45b5-97d3-5ac6b523263e)

![Entered user first name](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-M22e03YzTyAy0ZhS-CU%2F-M22kWlEBOmQFawKxDU1%2Fimage.png?alt=media\&token=629e163d-5779-4a33-8b9e-15a482c55622)

![Asterisk meaning the user selected the Underage answer](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-M22e03YzTyAy0ZhS-CU%2F-M22kah94dvjI6YwMKMd%2Fimage.png?alt=media\&token=4bf4f759-7894-4fb7-941a-993264325a86)

![Combination of all selected answers](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-M22e03YzTyAy0ZhS-CU%2F-M22ke_z7OcSoZyqtUii%2Fimage.png?alt=media\&token=80482210-0d25-4e5c-a123-905bbf3597b4)
