Trigger Workify invoice creation the moment a Pipedrive deal is marked as Won. Eliminate double-entry and bill clients the same day you close.
An automation that listens for a Pipedrive deal moving to Won status and immediately creates a matching invoice in Workify — pre-filled with the deal value, client details, and a 30-day due date.
Pipedrive is purpose-built for sales pipelines — it's fast, visual, and designed for agencies and independent consultants. Workify is purpose-built for invoicing. Connecting the two means the moment you close a deal in Pipedrive, the invoice is already being drafted in Workify. No switching tabs, no copy-pasting amounts.
Settings → API Keys)Pipedrive has a built-in webhook system (available on all paid plans). You can configure it to fire a POST request when a deal's status changes to won. For simple setups you can point this directly at a serverless function; for most users, routing through Make or Zapier is easier.
status = wonAlternatively, use Webhooks → Custom webhook in Make and configure Pipedrive's webhook settings to point to your Make webhook URL:
deal.updatedupdatedAdd a filter in Make: only proceed when {{status}} = won.
Pipedrive deals link to a Person (contact) and optionally an Organisation. To create the right Workify client, add an HTTP module to look up the person by email:
GET https://getworkify.app/api/v1/clients?email={{person.email[0].value}}
Authorization: Bearer wfy_your_key
If the client doesn't exist yet, create them first:
POST https://getworkify.app/api/v1/clients
{
"org_id": "your-org-id",
"name": "{{person.name}}",
"email": "{{person.email[0].value}}",
"company": "{{organisation.name}}"
}
POST https://getworkify.app/api/v1/invoices
{
"org_id": "your-org-id",
"client_id": "{{client.id}}",
"currency": "{{deal.currency}}",
"notes": "Re: {{deal.title}}",
"line_items": [
{
"description": "{{deal.title}}",
"quantity": 1,
"unit_price": {{deal.value}}
}
],
"due_date": "{{formatDate(addDays(now; 30); 'YYYY-MM-DD')}}"
}
This is the step most people skip — and it's the most useful for your team. After creating the invoice, add another HTTP module to update the Pipedrive deal with the Workify invoice ID:
PATCH https://api.pipedrive.com/v1/deals/{{deal.id}}?api_token={{your_pipedrive_token}}
{
"CUSTOM_FIELD_KEY": "{{invoice.id}}"
}
First create a custom field in Pipedrive called "Workify Invoice ID" (Settings → Data Fields → Deals), then map its key here. Now every won deal shows the linked invoice ID directly in Pipedrive.
If your Pipedrive deals include Products (deal line items), you can map these to Workify line items:
line_items fieldThis gives you a properly itemised invoice matching exactly what was in the deal.
If you prefer Zapier:
Status = wonhttps://getworkify.app/api/v1/invoicesZapier's approach is simpler but less flexible for multi-item deals.
Get your Workify API key and start building in minutes. Pro plan includes full API and webhook access.