DocToWeb AI Bot — Abilities
Everything the bot can do, grouped by category. Tools marked write change state (send messages, create records, etc.). Categories marked ⚠ missing config need secrets before they'll work.
40 tools
15 categories
8 ready to use
7 need config
Records & Contracts (Doc2Web) ●
CRUD on your forms, contracts, and submitted records inside Doc2Web.
Try asking:- "Show me all contracts I have set up"
- "How many records are in the 'client_intake' form?"
- "Create a new contract record in 'service_agreement' with client name = Acme Corp, value = 5000"
- "Update record abc123 in 'invoices' to status = paid"
Maps & Locations ●
Render embedded maps inline in chat. Powered by Google Maps.
Requires: GOOGLE_MAPS_API_KEY
Try asking:- "Show me a map of 1600 Pennsylvania Ave"
- "Where is the Twilio office in San Francisco?"
- "Give me directions from Times Square to JFK Airport"
Google Calendar ●
List, read, and create events on your Google Calendar — including Google Meet links.
Requires: (Google Calendar OAuth integration)
Try asking:- "What's on my calendar this week?"
- "Book a 30-min meeting with sarah@example.com on Friday at 2pm with a Google Meet link"
- "Show me my next 5 events"
Twilio SMS & Voice ●
Send SMS and place voice calls (Twilio reads text out via TwiML <Say>).
Requires: TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKENTWILIO_PHONE_NUMBER
Try asking:- "Text +14155551234 saying 'Your contract is ready to sign at <link>'"
- "Show me the last 10 SMS I sent"
- "Call +14155551234 and say 'Hi this is a reminder for your 2pm appointment'"
Twilio RCS & Rich Content Templates ●
Cross-channel rich messaging (RCS / WhatsApp / SMS fallback) using Twilio Content API templates.
Requires: TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKEN(A Twilio Messaging Service with RCS Agent attached)
Try asking:- "Create a quick-reply template called appointment_reminder asking 'Can you make it on {{1}}?' with buttons Yes / Reschedule / Cancel"
- "List all my Messaging Services"
- "Send rich message with template HX... to +14155551234 via my Messaging Service"
WhatsApp (via Twilio) ●
Send WhatsApp messages through your Twilio account — unified billing with SMS/RCS.
Requires: TWILIO_ACCOUNT_SIDTWILIO_AUTH_TOKENTWILIO_WHATSAPP_FROM
Try asking:- "Send WhatsApp to +14155551234 saying 'Your appointment is confirmed for Friday'"
- "Send the appointment_reminder template (contentSid HX...) to +14155551234 with name=Sarah, time=Friday 3pm"
WhatsApp (via Meta direct) ⚠ missing config
Send WhatsApp messages directly through Meta's Cloud API — no Twilio middleman.
Requires: META_ACCESS_TOKENWHATSAPP_PHONE_NUMBER_ID
Try asking:- "Send WhatsApp to 14155551234 (no +) saying 'Welcome aboard!'"
- "Send the order_confirmation template to 14155551234 with order id ORD-001"
Instagram ⚠ missing config
Publish posts and manage comments on your IG Business account.
Requires: META_ACCESS_TOKENINSTAGRAM_USER_ID
Try asking:- "Post this image https://example.com/photo.jpg to Instagram with caption 'New launch today!'"
- "Show me recent comments on my last Instagram post"
- "Reply to comment abc123 saying 'Thanks for the love!'"
Facebook Pages ⚠ missing config
Publish posts to your Facebook Page and read engagement insights.
Requires: META_ACCESS_TOKENFACEBOOK_PAGE_ID
Try asking:- "Post 'Black Friday sale starts now!' to my Facebook Page"
- "Show me last week's Page insights (reach, impressions, engagement)"
- "List my recent Facebook posts"
Facebook Messenger ⚠ missing config
Reply to people who messaged your Facebook Page first (cold-messaging is not allowed by Meta).
Requires: META_ACCESS_TOKENFACEBOOK_PAGE_ID
Try asking:- "Reply to Messenger user PSID 1234567890 with 'Thanks for reaching out, here's our pricing'"
Threads ⚠ missing config
Post and read your Threads timeline (500 char limit per post).
Requires: THREADS_ACCESS_TOKENTHREADS_USER_ID
Try asking:- "Post 'Just shipped a new feature 🚀' to Threads"
- "Show me my recent Threads posts"
Meta Ads (read-only) ⚠ missing config
List campaigns and pull insights — no campaign creation.
Requires: META_ACCESS_TOKENMETA_AD_ACCOUNT_ID
Try asking:- "List all my active ad campaigns"
- "Show me insights for campaign 1234567890 over the last 30 days"
Meta Conversions API ⚠ missing config
Send server-side Pixel events (PII must be SHA-256 hashed before passing).
Requires: META_ACCESS_TOKENMETA_PIXEL_ID
Try asking:- "Send a Purchase conversion event with value $99 for hashed email <hash>"
Fireflies.ai (meeting transcripts) ●
Pull AI summaries, action items, and transcripts from your recorded meetings.
Requires: FIREFLIES_API_KEY
Try asking:- "What happened in my last meeting?"
- "Summarize yesterday's call with the action items"
- "Search Fireflies for meetings titled 'Q1 planning'"
- "Pull the full transcript of meeting abc123 and find anything about pricing"
Cross-tool flows (no extra config — just ask) ●
Multi-tool compositions the bot does in one turn.
Try asking:- "Turn my last Fireflies meeting's action items into tasks in my 'follow_ups' contract"
- "Draft a contract from yesterday's discovery call (Fireflies → Doc2Web)"
- "Schedule a follow-up event for next Tuesday with everyone from that meeting and include the transcript URL"
- "Text Sarah a 2-sentence summary of our call (Fireflies → Twilio SMS)"
How to call programmatically
POST POST /api/ai/agent
Headers: X-AI-Bot-Token header (mint via GET /api/ai/agent/session from same origin) or Bearer AI_AGENT_API_KEY
Body:
{
"messages": [
{
"role": "user",
"content": "<your prompt>"
}
],
"provider": "anthropic | openai | gemini (optional)"
}
JSON version of this page: /api/ai/agent/abilities?format=json