Trello is a task management and organization app. You can connect Customer.io to Trello using Webhook Actions to add cards on your chosen list. In our example, we will create a card to contact a customer after they agreed to give us additional feedback regarding our product.Show me how!
You’ll also need a token. To get one, paste your own API key into the URL below: code
Click the Allow button to give access to your boards and teams. If you're successful, you’ll see a white page with the following content...
blockquote You have granted access to your Trello information.
To complete the process, please give this token:
...and your token should be there!
There is one more piece of data you need: the id of the list where you want to post your cards. To find this ID:
Inside your Customer.io account, create a new campaign (event triggered or segment triggered depending on what should trigger the Trello card creation.
In our example we’ll use the event FeedbackRequest with an attribute filter “Accepted is equal to true”.
Add a webhook action to your workflow, and give it a name. We’ll call our webhook “Contact customer”:
After adding the webhook, click Add Request.
POST add the Trello endpoint, with your API key and token pasted into it:
Be careful not to add any extra spaces before or after this URL.
For the body of our new card we’ll use this sample content:
idList needs to be replaced with the idList we retrieved from Trello. Only the due and idList attributes are mandatory. You can find more information about other attributes here.
When you’re ready to test, you can click Send Request. Customer.io will show you the response from the Trello API.
If you’re successful you’ll see a
200 OK Response.
In Trello you will see this card created.
We’re excited to hear how you end up using Trello with Customer.io’s Webhook Action. If you have any trouble, let us know! We're happy to help.