The short answer
Ask your AI assistant, connected through the Zigaflow MCP server: "Set up an automation that exports an invoice to Xero when it is approved. Leave it off." It cannot add the export action, so it should say so rather than leave a half-built rule. Build it in Settings > Automations and switch it on yourself.
Before you start
Steps
Connect your AI assistant
Your assistant needs the Zigaflow MCP server, working as the MCP user chosen in Settings. If it isn't connected yet, follow Set up the Zigaflow MCP server.
Ask the question
Type this into your assistant:
Prompt Set up an automation that exports an invoice to Xero when it is approved. Leave it off.
Say "leave it off", and ask the assistant to tell you if it cannot finish the rule. An automation with a name and no action sits in the list doing nothing.
Read the answer
Zigaflow connectedSet up an automation that exports an invoice to Xero when it is approved. Leave it off.ZUsed ZigaflowI can't build this one: I can't add the Export action to an invoice automation, so I made nothing.What you have nowNo invoice automations yetDo you want the steps to build it yourself in Settings > Automations, left switched off?Yes, the stepsNo, thanksZigaflow connectedSet up an automation that exports an invoice to Xero when it is approved. Leave it off.ZUsed ZigaflowI can't build this one: I can't add the Export action to an invoice automation, so I made nothing.What you have nowNo invoice automations yetDo you want the steps to build it yourself in Settings > Automations, left switched off?Yes, the stepsNo, thanksDrawn from our demo account, where every customer, supplier and figure is made up. In our demo account the assistant created nothing. There were no invoice automations, and the server cannot add the Export action, so the assistant said it could not build the rule and pointed to the Invoices tab of Settings > Automations.
That is the right answer. An automation with a name and no action would look finished in the list and never export anything.
Check it in Zigaflow
Open Settings > Automations and choose the Invoices tab. Add an automation that starts when an invoice is approved, give it the Export To Xero action, and leave it switched off until you have checked it.

What this lesson teaches
Ask once or automate?, level 6 of AI skills with Zigaflow: Build the rule with the assistant; switch it on yourself.
Tip
The Zigaflow MCP server comes with the API calls add-on. It isn't on the Quotes plan.
Do it by hand
The same work without an assistant: Create an automation to export invoices to Xero and Xero & Zigaflow synchronization.
Frequently asked questions
Was this helpful?