Purpose
Talking Shops is the CRM destination. Once a call is successfully qualified, the pusher creates a follow-up task so a human sales team member can continue the lead.When Records Are Pushed
talkingshops_pusher.py reads:
Scheduler Integration
scheduler.py runs the pusher loop every:
Authentication
Default auth header:Customer Linking
Before creating a task, the pusher tries to find a customer by mobile number. Derived default customers endpoint:unlinked-customer tag.
Task Payload
The task includes:title:Follow up with {lead_name}titleType:followupdescription: summary of lead, phone, source, product, budget, location, call ID, and lead IDpriority: derived from budgetdueDate: next daytags:ai-caller, source platform,qualified-leadmetadata: call ID, lead ID, phone, product interest, budget, location, source, full qualification JSON- Optional owner fields
- Optional related customer fields
Priority Mapping
Budget parsing understands common Indian terms such as
lakh, lac, lk, crore, and cr.
Owner Assignment
Static owner:Dry Run
Push Failure Behavior
failed. When false, the call remains called so it can be retried by the next pusher cycle.