# Braze for AI agents. Managed auth, ready-made tools.

> Update user profiles, send messages, trigger campaigns and review campaigns in Braze on behalf of each of your users.

- Page: https://www.agent200.com/connectors/braze/
- Category: Email and calendar
- Authentication: Managed OAuth
- Identifier in code: `braze`
- Create an API key: https://agent200.com/platform/apikeys/
- Updated: 2026-11-18

## Instructions for AI agents

Connector: Braze, through Agent200. In code: "braze".
What it does: Update user profiles, send messages, trigger campaigns and review campaigns in Braze on behalf of each of your users.
Page: https://www.agent200.com/connectors/braze/

1. Get an Agent200 API key. If the developer has none, send them to https://agent200.com/platform/apikeys/ and ask them to choose "Create an API key". Read the key from the AGENT200_API_KEY environment variable. Never ask for it in chat, and never write it into code, prompts or logs.
2. Sign-in is managed OAuth. Each end user approves access once, on Braze's own page, through the authorization link Agent200 returns. Never ask a user for a Braze password or token in chat.
3. Give every request a stable id for the end user. Agent200 uses only that user's own connection.
4. Read tools: braze_export_user, braze_list_campaigns, braze_get_campaign, braze_list_segments. Write tools: braze_track_users, braze_send_message, braze_trigger_campaign. Name "braze" in the tools of a request; the model decides which tool to call.
5. Stay within the project's settings. If a tool is turned off or a call is refused, tell the user. Do not work around it.
6. Before a write, confirm with the user, unless they asked for that exact change.
7. For setup with a specific framework, follow its guide:
   https://www.agent200.com/connectors/braze/framework/claude/
   https://www.agent200.com/connectors/braze/framework/chatgpt/
   https://www.agent200.com/connectors/braze/framework/claude-code/
   https://www.agent200.com/connectors/braze/framework/muse/
   https://www.agent200.com/connectors/braze/framework/grok-bot/
   https://www.agent200.com/connectors/braze/framework/openai-dots/
   https://www.agent200.com/connectors/braze/framework/claude-duet/
   https://www.agent200.com/connectors/braze/framework/hermes-agent/
   https://www.agent200.com/connectors/braze/framework/openclaw/

The code on the connector page is a conceptual example of the SDK. SDK reference: https://docs.igpt.ai/

## About

With the Braze connector, your agent works in each user's own Braze workspace. It can record user attributes and events, export a user profile, send a message, trigger a campaign and list campaigns and segments, using only the tools your project allows.

Braze is a customer engagement platform for messaging across email, push, SMS and in-app.

## Braze tools

- **Track user data** (`braze_track_users`, write): Record attributes, events and purchases for users.
- **Export a user** (`braze_export_user`, read): Read a user's profile by external ID or email.
- **Send a message** (`braze_send_message`, write): Send a message to chosen users right away.
- **Trigger a campaign** (`braze_trigger_campaign`, write): Send an API-triggered campaign to users.
- **List campaigns** (`braze_list_campaigns`, read): List the campaigns in the workspace.
- **Get campaign details** (`braze_get_campaign`, read): Read a campaign's settings and messages.
- **List segments** (`braze_list_segments`, read): List the segments in the workspace.

## Limits you can set

**Turn single tools on or off.** Let the agent read campaigns and segments, and switch off `braze_send_message` so it can never message your customers.

**Restrict what the agent reaches.** Choose the endpoints and scopes a project may use, for example campaigns and segments but not user data. A call outside them is refused.

## Get started

### Step 1: Set up the SDK

Add the Agent200 SDK to the codebase you already have and authenticate with your API key. The key covers every connector enabled for the project.

File `agent.js`:

```js
// One Agent200 API key covers every connector enabled for the project.
const agent200 = new Agent200({
  apiKey: process.env.AGENT200_API_KEY,
});
```

(Conceptual example of the Agent200 SDK.)

### Step 2: Let your user connect Braze

Each end user authorizes their own Braze account once. Agent200 runs the OAuth flow, handles the callback, stores the tokens and refreshes them.

File `connect.js`:

```js
// Each end user authorizes their own Braze account, once.
const connection = await agent200
  .user("user_123")
  .connect("braze");

if (connection.authorizationUrl) {
  // Show this link to your user; Agent200 handles the rest.
  console.log(connection.authorizationUrl);
}
```

(Conceptual example of the Agent200 SDK.)

### Step 3: Run with the Braze tools

Name the user, the model and the tools. The model decides which Braze tools to call, and Agent200 executes them with that user's connection.

File `run.js`:

```js
const result = await agent200
  .user("user_123")
  .run({
    model: "openai/gpt-5.6-sol",
    input: "List the active campaigns in Braze",
    tools: ["braze"],
  });

console.log(result.output);
```

(Conceptual example of the Agent200 SDK.)

## Sign-in and permissions

**Who signs in.** Each of your users, once, by connecting their own Braze account. Each connection is their own.

**What access is requested.** The connection acts with that user's access in Braze, such as reading campaigns, sending messages or tracking users. Users can revoke it later from their Braze account settings.

## Example requests

- "List the active campaigns in Braze"
- "Trigger the welcome campaign for this new user"
- "Show the profile of the user with ID 4821"
- "Set the plan attribute to pro for these users"

## Guides: Braze with your AI framework

- [Braze + Claude](https://www.agent200.com/connectors/braze/framework/claude.md): Set up Braze for Claude with Agent200, then check which tools are available to your agent.
- [Braze + ChatGPT](https://www.agent200.com/connectors/braze/framework/chatgpt.md): Set up Braze for ChatGPT with Agent200, then check which tools are available to your agent.
- [Braze + Claude Code](https://www.agent200.com/connectors/braze/framework/claude-code.md): Set up Braze for Claude Code with Agent200, then check which tools are available to your agent.
- [Braze + Muse](https://www.agent200.com/connectors/braze/framework/muse.md): Set up Braze for Muse with Agent200, then check which tools are available to your agent.
- [Braze + Grok Bot](https://www.agent200.com/connectors/braze/framework/grok-bot.md): Set up Braze for Grok Bot with Agent200, then check which tools are available to your agent.
- [Braze + OpenAI Dots](https://www.agent200.com/connectors/braze/framework/openai-dots.md): Set up Braze for OpenAI Dots with Agent200, then check which tools are available to your agent.
- [Braze + Claude Duet](https://www.agent200.com/connectors/braze/framework/claude-duet.md): Set up Braze for Claude Duet with Agent200, then check which tools are available to your agent.
- [Braze + Hermes Agent](https://www.agent200.com/connectors/braze/framework/hermes-agent.md): Set up Braze for Hermes Agent with Agent200, then check which tools are available to your agent.
- [Braze + OpenClaw](https://www.agent200.com/connectors/braze/framework/openclaw.md): Set up Braze for OpenClaw with Agent200, then check which tools are available to your agent.

## FAQ

### Who handles the Braze OAuth flow and the tokens?

Agent200. It runs the authorization, handles the callback on its own domain, stores the tokens and refreshes them. You do not build or maintain an OAuth integration for Braze.

### Does my agent act as the end user?

Within what that user authorized, yes. Every request names an end user, and Agent200 uses only that user's Braze connection, never another user's. It cannot reach anything the user or Braze has not authorized.

### Can I limit what my agent can do in Braze?

Yes. You choose which services, endpoints and authorization scopes are allowed in your Agent200 configuration, and the agent works only within them.

## Related connectors

- [Gmail](https://www.agent200.com/connectors/gmail.md): Read, search, draft and send email from each user's own Gmail account.
- [Outlook](https://www.agent200.com/connectors/outlook.md): Work with mail and calendar in each user's Microsoft Outlook account.
- [Google Calendar](https://www.agent200.com/connectors/google-calendar.md): Check availability and create, update or cancel events in your users' calendars.
- [Calendly](https://www.agent200.com/connectors/calendly.md): Find open times, share booking links, and book, review or cancel meetings in Calendly on behalf of each of your users.

---

Agent200: https://www.agent200.com/ · API keys: https://agent200.com/platform/apikeys/ · Docs: https://docs.igpt.ai/
