Form Completion Webhooks
Types of Webhooks
There are two types of webhooks which will be sent off depending on the number of Prompts your Smart Form has. If your form only contains a single prompt, it will use the Legacy Webhook. If it contains more than one prompt, it will use the Prompt Chaining Webhook. This is automatically determined based on the number of Logic Steps your form contains.
Legacy Webhook
After adding your webhook to the input field, you will receive an output similar to one below.
Webhook Fields
form_name
Form Title
creator_email
Your email
submission_date
The date which the form was submitted by
the user
processing_time
The time in seconds that it took from the user to hit submit to the time which the form results were displayed to them
ai_response
The AI result
personality
The form's personality name
form_data
The questions and answers of the form, formatted as a json object
Sample response
Prompt Chaining Webhook
After adding your webhook to the input field, you will receive an output similar to one below.
Webhook Fields
form_name
Form Title
submission_id
The unique ID associated with the user's response
creator_email
Your email
submission_date
The date which the form was submitted by
the user
ai_response
A list of "Logic Steps" which correspond to the individual personalities as well as their individual answers
personality
The last personality in the Prompt chain
form_data
The questions and answers of the form, formatted as a json object
Last updated
Was this helpful?