Agent CRM
Use Slab5 as the safe state layer for an agent that creates leads, converts them into CRM records, manages deals, creates follow-up tasks, and logs source activity.
Prompt
Create a website lead for Jane Doe at Acme Corp, convert the lead into a contact and company, open a qualified pilot deal worth $5,000, create a follow-up task for next Friday, and log the source as an inbound demo request.
Flow
create_leadwith source andcustom_fields.convert_leadinto a contact, company, and optional deal.create_deal_stageif the workspace needs a custom stage.update_dealwith amount and stage.create_taskfor follow-up.log_activitywith source and context.
Verify
- Lead status is
converted. - Contact and company exist in CRM.
- Deal stage is
qualified. - Task is linked to the contact or deal.
- Activity Log records the inbound source.
- Audit logs show each write with request IDs.
