Send an NPS survey using Delighted
If you don’t already have an account, you can sign up at https://delighted.com/.
Get your API Key
To send NPS surveys via API, you will need your API key. Your API key can be found in your Delighted account under Integrations > API. Only admins on your Delighted account can view the API key. If you’re not the admin, reach out to the person in charge with the Delighted account in your company.
Create a new campaign
Inside your Customer.io account, create a new campaign— event triggered or segment triggered depending on what should trigger the Delighted NPS survey sending.
In our example we’ll use the “Upgraded” trigger segment and a 7 day delay.
Customize your campaign
We start by adding a delay to your Workflow to make sure our emails go out 7 days after a customer upgraded.
Also, because we’re looking to get higher open rates, we only want to send emails when our customers are likely to still be at work – Monday to Friday between 7 a.m. and 7 p.m. EST time. We achieve this by adding a time window:
Add your webhook action
Now that we set the stage, we’re ready to add the webhook action. We’ll call our webhook “Upgraded: 7 days survey.”
After adding the webhook, click Add Request.
Customize your webhook headers
POST add your Delighted API key followed by the People endpoint. The format needs to be:
Customize your webhook body
For our survey we’ll use the content from
Customize the fields however you like; only the email is mandatory. The others are at your discretion, and you can find more information about them in the Delighted API docs.
At this point, your webhook should look like this:
When you’re ready to test, you can click Send Request. Customer.io will show you the response from the Delighted API.
If you’re successful you’ll see a 200 OK Response.
You will see the surveys sent in your Delighted account under People:
Our survey (sent in German because that was the language we chose) looks like this:
We’re excited to hear how you end up using Delighted with Customer.io’s Webhook Action. If you have any trouble, let us know! We’re happy to help.