How do I start an automation from my website or app?
To start a CiraIQ automation from your website or app, add a Webhook Trigger to the workflow and send an HTTP request with your data to its URL, or call the run API with an API key. Every field you send becomes data for the workflow’s steps. In sync mode the workflow can answer the caller, so a form can show “Thanks, your reference is 1042”.
Can I do it without code?
Section titled “Can I do it without code?”Often, yes. Many website builders and form tools have a “send to webhook” setting: paste your webhook URL there and you’re done. If your forms are Google Forms, use the Google Forms trigger instead, with no URL needed.
When do I need the API instead?
Section titled “When do I need the API instead?”When your own software starts runs. A booking system, a mobile app or a nightly script benefits from per-system API keys, safe retries (idempotency) and a delivery log.
How do I set it up, step by step?
Section titled “How do I set it up, step by step?”- Add a Webhook Trigger and set a path, for example
new-booking. - Add a secret token in the trigger.
- Build the steps that use the incoming fields.
- Publish the workflow. Webhooks only start published workflows.
- Send a request from your site or app:
curl -X POST https://api.ciraiq.com/api/webhooks/new-booking \ -H "Content-Type: application/json" \ -H "X-Webhook-Secret: your-secret-token" \ -d '{ "name": "Amina", "phone": "+254700000000", "service": "Braids", "time": "2026-12-01T10:00" }'- For the API instead, create a key in Settings → API keys, and call:
curl -X POST https://api.ciraiq.com/api/v1/workflows/YOUR_WORKFLOW_ID/run \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: booking-1042" \ -d '{ "input": { "name": "Amina", "service": "Braids" } }'Which jobs are worth starting from your site?
Section titled “Which jobs are worth starting from your site?”- Reply to every enquiry: Instant Lead Response, or the guide on replying to website enquiries.
- Bookings: confirm on WhatsApp, and add the booking to Google Calendar.
- Orders from a custom shop: an M-Pesa prompt, a receipt and a log.
- A chatbot widget: sync webhook → AI Assistant → Webhook Response.
A worked example
Section titled “A worked example”A salon’s booking page sends Amina’s booking to the webhook. The workflow adds a Google Calendar event, sends her a WhatsApp confirmation, and asks for a KES 500 (about $4) deposit by M-Pesa prompt. In sync mode the page shows “Booked! Check WhatsApp for your deposit request.”
Which mistakes should I avoid?
Section titled “Which mistakes should I avoid?”- No secret on a public URL: anyone who finds it can start your workflow.
- Calling before publishing: unpublished workflows don’t run from webhooks.
- Retrying without an Idempotency-Key: the customer may get two confirmations.
Doing it with CiraIQ
Section titled “Doing it with CiraIQ”Webhooks and API keys are on every plan. See webhook, HTTP Request and Webhook Response and API keys.
Questions
What is the difference between a webhook and the run API?
A webhook gives one workflow its own URL that anything can call, optionally protected by a secret. The run API starts any of your workflows with a personal API key, and adds idempotency and delivery history.
Can my website get an answer back from the workflow?
Yes. Set the Webhook Trigger's response mode to Sync and end the workflow with a Webhook Response step. The caller waits for that answer.
How do I stop strangers calling my webhook?
Add a secret token (sent as the `X-Webhook-Secret` header), an HMAC secret for signed requests, or an IP allow-list.
What happens if my app sends the same request twice?
With the run API, send an Idempotency-Key header. A retried request with the same key runs the workflow only once.