Route PollyBot installation requests by service ZIP code
Put new installation requests into the branch’s MySQL queue only when their US ZIP code has an active service territory.
15 stepsSalesOperations
Free to start, no card required.
How it works

When this happens
Receive a new chat inquiry
PollyBot AI
Step 1 · Code
Set the installation chatbot
Step 2
Check the chatbot reference
Follows the first path that matches
Lead belongs to the installation bot

Step 3 · PollyBot AI
Read the lead from PollyBot
Step 4 · Code
Check service type and US ZIP code
Step 5
Check the service request
Follows the first path that matches
New installation with a US ZIP code

Step 6 · MySQL
Read the active service territory
Step 7 · Code
Select the serving branch
Step 8
Check branch coverage
Follows the first path that matches
One active branch serves this ZIP

Step 9 · PollyBot AI
Recheck the installation request
Step 10 · Code
Confirm the request still qualifies
Step 11
Check for edits or another assignee
Follows the first path that matches
Same request still needs routing

Step 12 · MySQL
Route the request to its branch

Step 13 · MySQL
Read the saved dispatch assignment
Step 14 · Code
Confirm the saved branch assignment
Otherwise
Nothing happens
Otherwise
Nothing happens
Otherwise
Nothing happens
Otherwise
Nothing happens
Before you start
Register the PollyBot Lead Created webhook and set its chatbot ID in the trigger and configuration step. Capture service_country, service_zip and service_type as lead custom fields, using US, the five-digit ZIP as text and installation for this queue. In MySQL, create installation_territories(zip_code CHAR(5) PRIMARY KEY, branch_id BIGINT, active BOOLEAN) and installation_dispatch(lead_id VARCHAR(64) PRIMARY KEY, chatbot_id VARCHAR(64), zip_code CHAR(5), branch_id BIGINT), then add the branches and ZIP codes you serve.
Accounts to connect
Similar templates
See all 144 in Sales- Log official bid addenda with ScrapeGraphAI and MySQLFind new amendment links on one issuer’s tender page and add them to the bid team’s MySQL review queue.Uses Schedule, MySQL, ScrapeGraphAI11 steps · Sales
- Submit approved MySQL postmortems to ChaindeskAdd an approved incident review to a private knowledge base and record when Chaindesk finishes indexing the report.Uses Schedule, MySQL, Chaindesk19 steps · Operations
- Draft ChargeKeep deposits from signed PandaDoc proposalsCreate a draft ChargeKeep invoice for just the USD deposit in a signed PandaDoc proposal and record its invoice ID in MySQL.Uses PandaDoc, ChargeKeep, MySQL20 steps · Sales
Your first automationstarts with one sentence.
Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.