Running a bot

A Wingman bot is a Cloudflare Worker. Deploying it is wrangler deploy, and what it needs from the account is a handful of secrets and — optionally — a KV namespace.

  • Deploying a bot — the deploy itself, the variables, the KV namespace, and the prebuilt package a customer can deploy without this repository.
  • Troubleshooting — the bot is silent, the platform shows a warning, or the answers look wrong.

Two things are worth knowing before the first deploy. The runtime acknowledges a delivery before running handlers, so a slow answer never trips a platform's three-second deadline. And a bot works with no AI provider configured — it falls back to keyword search over its knowledge base and says so — which means it can be deployed and connected before a provider is chosen.

← Connecting emailDeploying a bot →