Build a Stateful AI Agent for Event Sponsorships
说明与用途
为活动展位构建一个持久化 AI 代理,维护每位访客的对话状态,资格化潜在客户,实时通知销售并安排后续跟进,实现连续数据流和提升销售效率。
问题
Event booths generate many conversations, but useful context is lost when attendees leave, leading to fragmented data and missed sales opportunities.
结果
The agent consolidates fragmented event interactions into a durable, cross-channel workflow, enabling real-time lead routing, automated follow-up, and concise attribution reporting, thereby improving sales engagement and data quality.
工作流
- Serve branded microsite and chat API
- Detect attendee language and store ISO code
- Guide attendee through qualification flow (name, company, use case, size, timeline, preferred channel)
- Upsert each response into SQLDB and actor state
- Recognize intents (product question, demo request, giveaway)
- For product questions, call Telnyx AI Inference to generate answers
- When demo requested, send immediate SMS alert to sales with captured context
- Schedule follow-up via Agent SDK based on preferred channel
- Send or log follow-up message when scheduled task runs
- Provide GET /api/report endpoint for lead attribution
- Deploy locally with in-memory KV, SQLite, and stubs, then ship to Edge
- Configure secrets and enable real communications after testing
证据
The event-sponsorship-agent example turns that fragmented workflow into one stateful application on Telnyx Edge Compute.
When an attendee completes the qualification fields and requests a demo, the agent sends an SMS alert to the sales team immediately.
- 记录日期: 2026-09-15T20:30:39.912Z