Automate CloseBot with TypeScript
Manage CloseBot bots, leads, messages, sources, personas, library knowledge, and Smart FAQs. Control AI response state, follow-ups, routing, variables, and scheduled messages with precise TypeScript inputs.
import { automation, onHttpRequest } from "automate.ax"
import { closeBot } from "automate.ax/closebot"
import { z } from "zod"
export default automation("Message CloseBot leads", () => {
const request = onHttpRequest({
body: z.object({ leadId: z.string(), message: z.string() }),
})
closeBot.sendLeadMessage({
leadId: request.body.leadId,
body: request.body.message,
})
})What you can do
Actions
- Create, configure, duplicate, connect, and publish bots
- Search leads and control AI response state and follow-ups
- Send messages and manage internal notes and scheduled messages
- Manage sources, folders, variables, library knowledge, and Smart FAQs
Triggers
No provider trigger is published for CloseBot yet. Use another trigger, then call its actions.