Agent setup guide
Workiz New Lead Reply
New Workiz leads get a quick, friendly email reply with your next step once you approve it.
What it does
New Workiz leads get a quick, friendly email reply with your next step once you approve it.
- Starts for each new Workiz lead (checked every 5 minutes).
- Code checks the lead has an email address.
- AI writes a short reply with what they asked for and your next step; every reply waits for your approval.
- Code checks it goes to the lead's own email with no placeholders, then Gmail sends it and the lead gets a note.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- Workiz with the Developer API add-on, connected with a v2 API key (Settings → Integrations → Developer) allowed to read and update jobs and leads.
- Gmail, connected in Settings → Integrations.
What it doesn't do
- It doesn't book, price or convert the lead.
- Leads without an email are skipped.
- Not instant: Workiz is checked every 5 minutes.
Availability and plans
Available
Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.
Included free on the Enterprise plan; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.
Before you start
- A paid plan: agents run live, and the Free plan only runs Dry Runs.
- An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
- These apps, connected in Settings → Integrations: Workiz and Gmail.
- The app it watches, connected in Settings → Integrations (the agent starts from an app event).
- About 6 minutes.
Set it up step by step
Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.
1. Connect your AI provider
The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.
2. Connect Workiz
Connect Workiz with a v2 API key (Settings → Integrations → Workiz).
3. Connect Gmail
Connect the Gmail account replies are sent from.
4. Pick your Workiz account
Open the trigger and pick your Workiz connection.
| Setting | What to enter | In step |
|---|---|---|
| Workiz account | Your Workiz connection. Pick your connected Workiz account. | “New Workiz lead” |
5. Your services and next step
Open “Write the reply” and replace the placeholder.
| Setting | What to enter | In step |
|---|---|---|
| Your services and next step | Replace the placeholder with your business, services, area, next step and sign-off. It starts as “[YOUR BUSINESS NAME, THE SERVICES YOU OFFER AND YOUR SERVICE AREA, YOUR NEXT STEP FOR A NEW LEAD (E.G. “WE'LL CALL YOU WITHIN THE HOUR” OR A BOOKING LINK), YOUR TONE AND YOUR SIGN-OFF]” until you replace it. | “Write the reply” |
6. Pick Gmail and Workiz
Pick the Gmail account on “Send it from Gmail” and your Workiz connection on “Note it on the lead”.
| Setting | What to enter | In step |
|---|---|---|
| Gmail account | The Gmail account the reply is sent from. Pick your connected Gmail account. | “Send it from Gmail” |
| Workiz account for the note | The same Workiz connection, used to note the reply on the lead. Pick your connected Workiz account. | “Note it on the lead” |
7. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
8. Switch the trigger on
Open the trigger and click “Activate app trigger”: new leads from then on start the agent.
How it works
The agent is a normal workflow with 13 steps (1 AI step, with a person approving in Reviews). You can open, edit and monitor it like any other workflow.
- New Workiz lead — Starts on “New lead” in Workiz (an app event). Starts for each new lead in Workiz (checked every 5 minutes).
- Has an email? — Step. In code: the lead has one valid email address.
- Reply by email? — Decision: picks the branch to follow. No email on the lead: nothing is sent (call them instead).
- No email: nothing sent — Kept in the run history. Branch: No email. The lead has no email address in Workiz.
- Write the reply — AI step (runs on your AI provider key). Branch: Has an email. AI writes a short, friendly reply that thanks them, repeats what they asked for and gives your next step. Nothing is sent before your approval.
- Approve the reply — A person approves or rejects it in Reviews (the run waits). The reply waits in Reviews: edit it, approve to send it from your Gmail, or reject to send nothing.
- Not approved — Kept in the run history. Branch: Rejected. Rejected: nothing was sent.
- Check before sending — Step. Branch: Approved. In code: the recipient is the lead's own email, a subject and body under the limit, and no leftover placeholders.
- Passed the checks? — Decision: picks the branch to follow. Passed: the reply is sent. Otherwise nothing is sent.
- Held: nothing sent — Kept in the run history. Branch: Held. The reply failed a check (recipient, blank text or a placeholder). The reason is in the run history.
- Send it from Gmail — Gmail: Send an email. Branch: Send. Sends the approved reply from your Gmail.
- Note it on the lead — Workiz: Add a note to a lead. Adds a note to the Workiz lead so the team knows a reply went out.
- Replied — Kept in the run history. The run history keeps the lead and the email.
Test it with Dry Run
Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live. The sample has the same shape as a real event from the app.
Sample data fields
id, uuid, serial_id, status, start, job_type, description, client_id, client_first_name, client_last_name, client_email, client_phone, address, city, created_at, lead.
- Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
- Approval steps use the Dry Run decision you pick in the step's settings (approved, rejected or timeout), so you can try each branch.
Go live
- Open the trigger and click “Activate app trigger”: new leads from then on start the agent.
- Activating the app trigger needs the trigger's connected account. The first check only remembers what's already there, so older items don't start runs; the same item never starts two runs.
- The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
- When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.
Questions
Is the reply sent automatically?
No. Every reply waits for your approval in Reviews.
What about leads without an email?
They are skipped; nothing is sent. Call them from Workiz as usual.
Does it quote prices?
No. It never adds prices or arrival times; it gives the next step you wrote.
Troubleshooting
- “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
- A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
- An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
- No runs start: activate the app trigger with a connected account. Only items created after activation start runs.
- A run shows as paused: it's waiting for someone in Reviews to approve or reject it.
- A step failed: open the run in History and check that step in the Trace tab for the error and what it received.
Generated from the agent's own workflow, so it always matches what the agent does. Last updated .