Webhooks let bluebarry instantly send quiz data to your other tools.
Think of it as: someone completes part of a quiz, and your email tool, CRM, or automation flow can react right away.
Use cases for webhooks
Common ways teams use webhooks:
- Send abandoned-result or post-quiz email sequences
- Sync quiz answers and profile traits to your ESP or CRM
- Trigger flows based on specific answer choices
- Store recommendation outcomes in BI or analytics tools
Available webhook topics
In bluebarry, you can choose from three webhook triggers:
- question.answered – Sent each time someone answers a question. You can track all quizzes, one quiz, one question, or even one specific answer.
- result.viewed – Sent when someone reaches the results page. You can track this for all quizzes or one specific quiz.
- profile.updated – Sent when bluebarry updates a visitor profile based on quiz behavior. You can track this for all quizzes or one specific quiz.
A profile in bluebarry is the visitor record built from quiz interactions (for example email, answer-based properties, consent, and product recommendations).
How topics work (in bluebarry and API)
These topic formats are the same ones bluebarry uses in the app. If you create webhook subscriptions through the API, use these exact topic values:
question.answeredquestion.answered.{quizId}question.answered.{quizId}.{questionId}question.answered.{quizId}.{questionId}.{answerId}result.viewedresult.viewed.{quizId}profile.updatedprofile.updated.{quizId}
Replace placeholders with real IDs. For example, result.viewed.{quizId}becomes result.viewed.6f7f3ad1-0b8e-4e89-bd8f-2c625b3c9a11. Remove the curly braces and insert the actual value.
To find your quizId in bluebarry: open the quiz funnel and go to its Design page. The URL looks like /quizzes/{quizId}/design. The middle part is your quiz ID.
Understanding the data structure
The webhook uses your internal names from bluebarry. This keeps everything consistent but means you need to set these up properly:
- Internal question names – Change these in your funnel's left-hand menu where all your question settings live
- Internal answer values – Update these in the "Flow" section of your quiz builder
💡 Pro tip
Make your internal names actually make sense. "Q1" and "A1" won't help you when you're building automations at 2am. Use descriptive names like "budget_question" and "under_500" instead.
Payload overview
Each webhook sends a JSON payload, and the fields depend on which trigger you chose. In bluebarry, click Example payload to preview exactly what your team will receive. You can find this button in Dashboard → Integrations → Webhooks: while creating a webhook (after selecting a topic type), and on each saved webhook card.
- question.answered: selected answer details, answer value/text, and consent signal.
- result.viewed: session context, answered questions, and recommended products.
- profile.updated: profile details (like email and properties), consent info, and recommendations.
For result and profile webhooks, bluebarry can also include product attributes such as price, category, and other mapped product data.
Delivery and retries
- bluebarry sends webhook data to your URL right after the trigger happens.
- A delivery is marked successful when your receiving endpoint confirms it was accepted.
- Every attempt is logged under each webhook in bluebarry with status and timestamp.
- You can retry failed deliveries manually from Delivery Attempts.
- After 5 failed deliveries in a row, bluebarry automatically disables that webhook for safety.
Setting up a webhook
- Go to Dashboard → Integrations → Webhooks.
- Click Create webhook.
- Give it a name and choose a topic type.
- Optionally scope it to a specific quiz, question, or answer (depending on topic type).
- Paste the receiving URL from your tool (for example Make, Zapier, Klaviyo middleware, or your CRM endpoint).
- Save it, run a quick test quiz, and confirm the data arrives correctly.
Testing and troubleshooting
Use a request inspector like webhook.site to preview incoming data before connecting your live automation.
- Use bluebarry's Example payload to map fields before building your workflow.
- Check Delivery Attempts to see whether each send succeeded or failed.
- If a webhook gets disabled after repeated failures, fix the receiving step and turn it back on.