Send tasks from Zapier
For example: a new lead in your CRM gets a contact check, and the answer goes back on the record.
About 6 min
Make a server app
In Kata go to Settings, then Developers, then Your apps, and create a Server app. Copy the client ID and secret.
Get a token in the Zap
Add a Webhooks by Zapier POST step to https://kata.now/oauth/token with grant_type set to client_credentials, and the client ID and secret as basic auth.
Create the task
Add another POST step to https://kata.now/api/v1/tasks with the header Authorization: Bearer and the token, and a JSON body with instructions, external_ref set to your record id, and auto_approve if you want it to start straight away.
{ "instructions": "Check that {{phone}} belongs to {{name}}.", "external_ref": "{{record_id}}", "auto_approve": true, "max_credits": 2 }Catch the result
Make a second Zap that starts with Catch Hook, and paste its address as your webhook in Settings, then Developers, then Webhooks. Filter on task.completed and use external_ref to update the right record.
Good to know
- Send test events from the Webhooks panel to map the fields before going live.
Related guides
- Get results by webhook and check the signatureWe POST every change to your address, signed so you know it's us. 5 min
- Try everything in test modeReal costs, simulated results, no credits and no agent. 2 min
- Send tasks from MakeUse Make's HTTP module with a Kata server app. 6 min
- Send tasks from n8nUse the HTTP Request node with OAuth2 client credentials. 5 min
Something unclear? Email hello@kata.now.
All guides