Quickstart: Build your first workflow
This guide walks through building a complete AP invoice routing workflow from scratch. You'll connect QuickBooks, set a trigger, define approval logic, and activate the workflow. Estimated time: 12 minutes.
On this page
Prerequisites
- A Polsia account. Create one here if you don't have one.
- Admin access to your QuickBooks account (QuickBooks Online recommended).
- At least one vendor set up in QuickBooks with a payment method configured.
Step 1: Connect QuickBooks
In your Polsia dashboard, go to Settings > Integrations and click Add integration. Select QuickBooks Online from the list.
You'll be redirected to Intuit's authorization page. Sign in with your QuickBooks admin credentials and authorize Polsia to read and update invoices, vendors, and payments.
Polsia requests the minimum permissions needed for the operations you configure. You can review and revoke access at any time from QuickBooks' app permissions page.
Once connected, the integration status in Polsia will show Connected with a green indicator. If you see an error, confirm that your QuickBooks plan includes API access (QuickBooks Online Plus or Advanced).
Step 2: Create a new workflow
Go to Workflows in the sidebar and click New workflow. You'll see a list of templates. Select AP invoice routing. Polsia will load the template with pre-populated steps you can customize.
Give your workflow a name (for example, "Vendor invoice approval") and click Customize.
Step 3: Define the trigger
The template defaults to New invoice in QuickBooks as the trigger. This means Polsia will check for new invoices every 15 minutes and run the workflow for each new one.
Optional: add a filter to only run on invoices above a certain amount. In the Trigger conditions panel, click Add condition and set invoice.amount > 500.
You can also trigger workflows via the API. See the API reference for details.
Step 4: Add workflow steps
The template includes three steps. Review and adjust each one:
-
1
Extract invoice data. Polsia reads the invoice from QuickBooks and extracts vendor name, amount, due date, and line items. No configuration needed here.
-
2
Route for approval. Set the approver email. For invoices above $5,000, you can add a secondary approver. Polsia sends an approval request email with a one-click approve/reject link.
-
3
Mark as approved in QuickBooks. Once approved, Polsia updates the invoice status in QuickBooks. If rejected, it adds a note to the invoice and sends a notification.
Step 5: Test in sandbox mode
Before activating, run the workflow in sandbox mode to confirm everything is wired correctly. Click Run in sandbox. Polsia will execute the workflow against a read-only copy of your QuickBooks data. No changes will be written back.
Review the execution log. Each step shows its inputs, outputs, and whether it succeeded. If a step fails, the log includes a reason and a suggested fix.
If the sandbox run fails on the approval step with a "no approver configured" error, confirm you've entered a valid email in the approval step settings before activating.
Step 6: Activate
Once the sandbox run passes, click Activate workflow. Polsia will begin checking for new invoices on the trigger schedule you configured. You'll receive a confirmation email and can monitor execution status from the Workflows dashboard.
Your first workflow is live. For more complex setups, see the integration guides for other systems, or the API reference for programmatic triggers.