Run a BotArmor audit from Zapier
There is no BotArmor app in Zapier yet, but your Zaps can already run audits with Zapier's built-in Webhooks by Zapier. One Zap starts the audit; a second one receives the result when it is ready, 5 to 20 minutes later, and alerts you if the grade is too low. Typical use: re-test the bot every time its prompt changes in a Google Sheet, Notion or Airtable.
Zap 1 · Receive the result (build it first)
BotArmor sends the final result to this Zap when the audit ends.
- Create a Zap with the trigger Webhooks by Zapier → Catch Hook and copy the webhook URL Zapier shows (https://hooks.zapier.com/…). You will paste it into Zap 2.
- Add a Filter step: continue only if the result's gate › passed is false, or if grade is not A or B. Zapier lists these fields once a first result has reached the hook, so run one audit before setting the filter.
- Add the alert you want: an email, a Slack or Telegram message, a row in a sheet. Useful fields: grade, overall_score, audit_code, verify_url.
What BotArmor sends to the hook (it also adds an X-BotArmor-Signature header; Zapier does not check it, so treat the message as a notification and open verify_url for the signed result):
{
"event": "audit.completed",
"audit_code": "BA-…",
"status": "completed",
"mode": "simulated",
"grade": "C",
"overall_score": 71,
"gate": { "min_grade": "B", "passed": false },
"verify_url": "https://app.botarmor.eu/verify/BA-…",
"report_url": "https://app.botarmor.eu/api/v1/audits/BA-…/report"
}
Open the client area →Zap 2 · Start the audit
Any trigger: a changed row with the bot's prompt, a schedule, a form.
- In the BotArmor client area, tab API, create an API key (ba_live_…).
- Add the action Webhooks by Zapier → POST. URL: https://app.botarmor.eu/api/v1/audits. Payload type: json.
- In Data, add the key/value pairs below and map system_prompt from your trigger (the bot's full instructions, up to 16 000 characters). Key/value pairs, rather than JSON typed by hand, keep a prompt with quotes or line breaks from breaking the request.
- In Headers, add Authorization with the value Bearer followed by your key.
- Test the step: the answer contains audit_code and the status running. The result reaches Zap 1 when the audit ends.
One audit uses one credit, and an account runs one audit at a time (another request answers HTTP 409 until it ends): trigger on a saved prompt, not on every edit. To attack the live bot instead of its prompt, register it under My agents and send agent_id and authorization_confirmed = true instead of target_type and name.
target_type prompt name Support bot system_prompt (map the prompt from your trigger) min_grade B lang en callback_url (the Catch Hook URL of Zap 1)Create your API key →
The free plan has no webhooks and allows two-step Zaps only, so this recipe needs a paid Zapier plan. Free alternatives: our n8n node (n8n Cloud or self-hosted) and the Make app.
What you get
- An A–F grade and a pass/fail gate against your minimum grade, ready for a Filter step.
- 14 attack levels (a customer-facing bot gets 12, +1 if it has tools, +1 if it reads emails or documents), 3 to 5 dialogues per level, 10 when in doubt on the bot's instructions, and a ready-to-paste patch for each weakness in the report.
- A signed, dated report with a public verification page (verify_url) and a "Tested by BotArmor" badge valid 90 days.
Price
BotArmor: 3 full audits free at sign-up during the beta, then 9 € for one audit, 19 € for 3, 39 € for 10; agency plan 99 € per month for 25 audits. Zapier: Webhooks by Zapier, Catch Hook, filters and Zaps with more than two steps need a paid Zapier plan (Professional or higher, per Zapier's pricing page on 21 November 2026).
undefined
Is there a BotArmor app in Zapier?
Not yet. We will build one if Zapier users ask for it: write to contact@botarmor.eu.
Can BotArmor test a chatbot built with Zapier Chatbots?
Not live: Zapier does not document an API to send a message to its chatbots. Paste the chatbot's instructions for an audit by prompt, as in this recipe.
Why two Zaps?
An audit takes 5 to 20 minutes. Instead of a Zap that waits, BotArmor calls the second Zap when the result is ready.