Glossary · Product

Automation

Versioned event-path logic that runs before a delivery reaches the destination.

What is a Hooksbase Automation?

An Automation runs versioned logic inside Hooksbase before a delivery reaches the destination. For AI agent workflows, that usually means shaping the event into a clean input contract before the agent sees it.

The first supported Automation type is a Code Mode transform: JavaScript that runs after routing and before the dispatch snapshot is saved.

Why it matters

Without Automations, every agent runtime has to normalize provider payloads itself. That scatters event-shaping logic across agents, queues, and background workers.

With Automations, the event layer owns that logic:

  • routing still evaluates the original source payload
  • Code Mode transforms produce the agent-facing dispatch snapshot
  • runs, logs, and quotas are tied to the delivery pipeline
  • retries and replays use the saved dispatch snapshot

What Automations are not

Automations are not a general workflow builder, an arbitrary public JavaScript playground, or an AI code-generation feature. They are versioned event-path logic for controlled delivery flows.

See also: Code Mode, Payload transform, and Dispatch snapshot.

Frequently asked questions

What is an Automation not?

Not a general workflow builder, not an arbitrary public JavaScript playground, and not an AI code-generation feature. It is versioned event-path logic for controlled delivery flows.

How do Automations interact with retries and replay?

Routing still evaluates the original source payload, the Code Mode transform produces the agent-facing dispatch snapshot, and retries and replays reuse that saved snapshot rather than re-running the current version.

What is Hooksbase?

Hooksbase is event infrastructure for AI agents. It ingests events over four channels — HTTP, email, HTML form, and scheduled cron — verifies them, routes them by rule, runs versioned Automations in the event path, and delivers them to HTTP and cloud destinations (AWS SQS, AWS EventBridge, GCP Pub/Sub, and S3-compatible storage) with retries, strict ordering, Standard Webhooks-compatible signing, deterministic replay, and a dead-letter path. It is a hosted service, runs on Cloudflare Workers, is operated at hooksbase.com, and is not affiliated with — and shares no code or ownership with — other similarly named webhook, hook, or tunnelling tools.

Related terms