Templates / Create and approve Xero invoices from Pipedrive Closed Won deals with Slack

Create and approve Xero invoices from Pipedrive Closed Won deals with Slack

Ready for 3.0

by Intuz ✓ · 2 views · created 2026-09-28 · Invoice Processing

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 21 nodes and runs on Pipedrive events. Along the way it connects Xero, Slack and Pipedrive. It also calls api.xero.com over HTTP.

How it runs

Trigger: On Pipedrive events.

  1. If: checks a condition and branches into true / false
  2. Configure Workflow Settings (Edit Fields (Set)): sets 7 fields: xeroOrganizationId, closedWonStageId, salesAccountCode…
  3. Retrieve Pipedrive Person (Pipedrive): get (person)
  4. Prepare Contact Data (Edit Fields (Set)): sets 7 fields: contactName, contactEmail, dealId…
  5. Search Xero Contact (Xero): get many (contact)
  6. If: checks a condition and branches into true / false
  7. Set Existing Contact ID (Edit Fields (Set)): sets 1 field: contactId
  8. Create New Xero Contact (Xero): work with contact
  9. Get Pipedrive Deal Products (Pipedrive): get many (deal product)
  10. Set New Contact ID (Edit Fields (Set)): sets 1 field: contactId

…plus 10 more steps. See the full node list below.

Services it uses

XeroSlackPipedrive

HTTP calls to: api.xero.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Quick overview This workflow triggers when a Pipedrive deal is moved into the Closed Won stage, creates a matching draft invoice in Xero, and posts it to Slack for approval before authorising and emailing the invoice to the customer. How it works 1. Triggers…

Excerpt from Intuz 's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.