Skip to main content

Webhook mapping: mapping to a selectbox - Knowledgebase / Data, Webhooks & API's - Deployteq Support

Webhook mapping: mapping to a selectbox

Mapping a value to a select box: pay attention to capitalization!

If you have a value in your webhook call that you want to map to a select box, such as the field newsletter_optin, make sure to send the value in uppercase in the JSON script, as follows:

"newsletter_optin": "YES"

A value like yes or Yes will not be processed by Deployteq.

In that case, the webhook call will leave the opt-in field empty, which Deployteq will interpret as a No when checking which customers can receive emails. This could result in a large portion of your customers becoming non-mailable!

Add a comment

Please log in or register to submit a comment.

Need a password reminder?