All integrations

Sendblue

ChannelProvider official

Send and receive iMessage, SMS, and RCS through Sendblue.

Read the full channel docs

Install

Install eve, Chat SDK, the Sendblue adapter, and a state adapter:

bash
npm install eve@latest chat chat-adapter-sendblue @chat-adapter/state-memory

The in-memory state store is for local development. Use Redis or PostgreSQL in production. This adapter is built and maintained by Sendblue.

Quick start

Create agent/channels/sendblue.ts:

ts
// agent/channels/sendblue.tsimport { createSendblueAdapter } from "chat-adapter-sendblue";import { createMemoryState } from "@chat-adapter/state-memory";import { chatSdkChannel } from "eve/channels/chat-sdk";
export const { bot, channel, send } = chatSdkChannel({  userName: "My Agent",  adapters: {    sendblue: createSendblueAdapter(),  },  state: createMemoryState(),});
bot.onNewMention(async (thread, message) => {  await thread.subscribe();  await send(message.text, { thread });});
bot.onSubscribedMessage(async (thread, message) => {  await send(message.text, { thread });});
export default channel;

See the Sendblue adapter documentation for supported events, capabilities, and credentials.

Configure

Set SENDBLUE_API_KEY, SENDBLUE_API_SECRET, and SENDBLUE_FROM_NUMBER, then point Sendblue webhooks at /eve/v1/sendblue. The adapter also supports tapbacks, typing indicators, delivery callbacks, and number lookup. See the Chat SDK channel docs for eve session dispatch, state, streaming, and human-in-the-loop behavior.