All tools
BrewB

by Brew

Fire a trigger event

Validates an event payload, upserts the contact it describes and starts one run of every published automation listening to that trigger.

View on GitHub
Updated Sep 26, 2026Available asMCPCLIAPI

Description

For event-driven lifecycle and transactional email. Always pass an idempotency key, such as the event name, user id and event timestamp.

fire-trigger-event.md

Fire a trigger event

Validates an event payload, upserts the contact it describes and starts one run of every published automation listening to that trigger.

For event-driven lifecycle and transactional email. Always pass an idempotency key, such as the event name, user id and event timestamp.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "brew": { "url": "https://brew.new/api/mcp" } } }

Call the MCP tool fire_trigger_event.

Server URL: https://brew.new/api/mcp

CLI (official)

Install the command, then confirm it runs.

brew install getbrew/tap/brew-cli
brew-cli --version

Run brew-cli automations triggers fire.

Set $BREW_API_KEY in your environment first (get a key: https://brew.new/settings/api).

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remotefire_trigger_eventOAuthDocs
CLIOfficialbrew-cli automations triggers fireAPI key in $BREW_API_KEYDocs
APIOfficialPOST /v1/automations/triggers/{triggerEventId}/fireAPI key in $BREW_API_KEYDocs

Workflows using Fire a trigger event

No workflows yet
No published workflow uses Fire a trigger event yet.