Connect a website, Make or another app. Store answers and scores against the right contact and send a personalised follow-up through an automation.
{
"type": "submit",
"sessionId": "9526e7dc-fb63-4901-af63-2b2dc964556c",
"sequence": 3,
"step": "result",
"visited": [
"vraag_01",
"result"
],
"choices": {
"vraag_01": [
2
]
},
"firstName": "Test",
"email": "test@example.com",
"subscribe": false,
"measure": false
}Open external campaignsOpen campaign results{
"dimensions": [
{
"key": "visibility",
"label": "Visibility",
"questions": [
{
"field": "channels",
"choices": [
{
"value": "starting",
"points": 1
},
{
"value": "consistent",
"points": 4
}
]
}
]
}
],
"profiles": [
{
"minPoints": 1,
"name": "Explorer"
},
{
"minPoints": 4,
"name": "Builder"
}
],
"recommendationCount": 1,
"recommendations": [
{
"id": "plan",
"question": "channels",
"values": [
"starting"
],
"title": "Choose one channel"
},
{
"id": "measure",
"question": "channels",
"values": [
"consistent"
],
"title": "Measure your best channel"
}
]
}Use your own stable request ID as id. A native Webflow form can use requestIdField to name a hidden field. Reuse the same answers, consent and timestamps on retry. Changed content under the same ID returns 409. After acceptance, call GET /api/v1/campaign-events/status?id=... from your server with the same source key, or use get_campaign_receipt in MCP. received means stored. enrollmentProcessed means automation enrollment has been handled. automations counts runs by status. email.status reports no_job, pending, sent (provider accepted), delivered (provider confirmed delivery), delayed, bounced, complained, skipped, cancelled or failed. mixed includes counts in email.counts. Processing can finish with no_job when there is no active mail step. HTTP 404 means this source has no such receipt. Custom browser fetch requests use a secure server function that holds the source key.
{
"source": "bladcampagne",
"settings": {
"formName": "Lezerstest",
"email": "E-mail",
"firstName": "Voornaam",
"fields": [
{
"from": "Interesses",
"to": "interesses",
"type": "list",
"choices": [
"Design",
"Marketing"
]
}
],
"scoreRules": [
{
"field": "interesses",
"equals": "Design",
"points": 2
}
]
}
}Set up the webhook in WebflowIf the Slecto guide builder fits your assessment, publish the guide and paste its embed code into Webflow. Slecto handles the answers. For an existing custom test or your own scoring rules, keep the experience in Webflow and send the result to Contact 360 through the Campaign API.
Save the JSON below as event.json. Replace the email with an address you control. Set SLECTO_CAMPAIGN_KEY in the server environment. To test delivery, activate the automation described below first. Run the command in Bash with curl. This request creates test data and can start an active automation.
{
"id": "dna-attempt-1001",
"event": "test_completed",
"email": "tester@example.com",
"fields": {
"score": 76,
"ambition": "Nieuwe klanten",
"channels": [
"Nieuwsbrief",
"Website"
],
"advice": "Plan elke maand een klantinterview."
},
"resultEmailRequested": true
}The first successful request returns HTTP 201 and two identifiers. Sending the identical submission again returns HTTP 200, status duplicate and the same identifiers. Automation and email processing follow storage.
curl -i -X POST "https://slecto.app/api/v1/campaign-events" -H "Authorization: Bearer $SLECTO_CAMPAIGN_KEY" -H "Content-Type: application/json" --data-binary @event.json{
"status": "accepted",
"eventId": "c04eaa42-9ba9-4c7f-b9b4-d464d83340de",
"profileId": "ad762235-739d-4c28-9ad9-dc54cd46dc3e",
"statusUrl": "/api/v1/campaign-events/status?id=dna-attempt-1001"
}id, event and email are required. The API key determines the source and workspace. Put custom assessment data in fields. The JSON schema specifies supported types, lengths and name patterns.
Generate one id per attempt and reuse the original id and contents on retries. Email matches are case-insensitive within the workspace. test_completed preserves every result in Contact 360 and replaces the source’s current field set when the result is newer. Send the entire assessment. Use contact_updated to patch names and individual fields under crm.marketing_dna. Send occurredAt as an ISO timestamp with timezone for delayed events.
Send text, numbers, booleans, null or string lists in fields. Assign each question, ambition, score and recommendation a stable field name. Slecto registers assessment fields in Data lists. In Segments select a custom field, enter external.marketing_dna.score and choose e.g. ≥ 70. Combine with an ambition or use Is present on external_events.marketing_dna.meeting_booked. Choose all or any conditions. Send meeting_booked or action_plan_requested with a new id and the same email for a booking or plan request.
Publish an HTML block with your content in Email templates. Use {{automation.data.submission.fields.advice}} for the recommendation from this specific attempt. Use {{contact.metadata.external.marketing_dna.advice}} for the current profile value. In Automations choose External campaign, source marketing_dna and event test_completed. Add a transactional email step with the published template. Activate before testing. Enable re-entry with a zero-hour cooldown for one result per new attempt. Send resultEmailRequested as true only when the visitor requests their result.
Keep the requested result email functional. Record a separate newsletter choice by including marketingOptIn only after an active opt-in, with text (the wording shown) and version. Omitting it preserves prior consent. Slecto records the consent time. Marketing delivery checks eligibility. Set up your sender under Settings → Email, verify the displayed DNS records, enable delivery and test From and Reply-To with your own address.
Add a Webhook action with POST and the HTTPS URL of your Make scenario. The default body includes automationData.submission.id. Deduplicate tasks and bookings in Make using source and id. Select the ClickUp project or calendar there. Configure a custom body to share only the fields needed.
Keep your Webflow tags. Have CookieYes pass consent state to GTM and send only an event such as dna_test_completed to GA4. Keep email, individual answers and personal PDF links out of analytics. The campaign endpoint sets no cookies. Analytics permission and email opt-in are separate choices.
Owners and administrators can download the full contact archive under Contacts → Export. It includes profiles and metadata, field definitions, widget submissions, original external events and consent history. Each line is JSON. Check the last line for complete: true. Slecto uses Supabase for its contact database. Agree the processing agreement, region, subprocessors, retention, deletion requests and recovery arrangements with Slecto before launch. Ask for the date and outcome of the latest recovery test.