Integrate Siren with TypeScript/JavaScript-based AI agents using our SDK
Framework | Example | Description |
---|---|---|
OpenAI | View Example | Complete OpenAI Assistant integration |
LangChain | View Example | Agent with LangChain tools |
Vercel AI SDK | View Example | Next.js and Vercel AI SDK integration |
Mastra | View Example | Mastra integration |
Tool | Description | Example Use Case |
---|---|---|
send_message | Send a message through any channel | ”Send an email to the user” |
get_message_status | Check delivery status | ”Did my last message get delivered?” |
list_messages | List sent messages with filters | ”Show me all failed SMS from yesterday” |
Tool | Description | Example Use Case |
---|---|---|
create_template | Create a new message template | ”Create an email template for order confirmations” |
get_template | Get template details | ”Show me the welcome email template” |
list_templates | List available templates | ”What templates do we have?” |
update_template | Update an existing template | ”Add a new variable to the password reset template” |
delete_template | Remove a template | ”Delete the old holiday promotion template” |
Tool | Description | Example Use Case |
---|---|---|
trigger_workflow | Start a workflow execution | ”Send the abandoned cart sequence” |
get_workflow_status | Check workflow status | ”Is the onboarding workflow complete?” |
schedule_workflow | Schedule workflows for future execution | ”Schedule a follow-up message for next week” |
Tool | Description | Example Use Case |
---|---|---|
setup_webhook | Configure webhook endpoints | ”Forward all message status updates to our CRM” |
list_webhooks | View configured webhooks | ”What webhooks do we have set up?” |
delete_webhook | Remove a webhook | ”Remove the old test webhook” |