Check updated deals
Every 3 minutes, the workflow pulls recently updated HubSpot deals with their associated company.
Checks HubSpot deals at Contract Sent or Closed Won against overdue ERPNext sales invoices, puts at-risk deals on hold and alerts the team in Microsoft Teams
Apps used in this template
About this template
Sales can sign a deal with a customer who still owes money, and finance often finds out only when the order ships on credit. Every 3 minutes, this template picks up HubSpot deals at Contract Sent or Closed Won, matches the company to its ERPNext customer and, when an overdue sales invoice exists, moves the deal back to an open stage On Hold with an OpenAI risk summary.
Key benefits
Inside the flow
Every 3 minutes the workflow reads updated HubSpot deals, matches the company to an ERPNext customer through the HubSpot company ID and searches for overdue sales invoices, oldest first. Clean deals are marked Passed, while deals with an overdue invoice are moved back, put On Hold, noted and flagged in Microsoft Teams.
Every 3 minutes, the workflow pulls recently updated HubSpot deals with their associated company.
Only deals at Contract Sent or Closed Won that are linked to a company and not yet checked move forward.
The workflow finds the ERPNext customer through the HubSpot company ID stored on the customer record. If there is no match, the deal is marked Unverified and stays in its stage.
ERPNext is searched for overdue sales invoices for that customer, oldest first. If none exist, the deal is marked Passed.
OpenAI turns the overdue invoice details into a short note covering the invoice number, outstanding amount and days overdue.
The deal is moved back to its earlier open stage, marked On Hold and given the summary as a note. A Microsoft Teams message shares the deal name, summary and a link to the deal.
Add a credit check to your order to cash automation before a deal is signed, without slowing the rest of the pipeline.
01
Customers with overdue invoices are flagged before signature, so the business is less likely to ship more on credit into an unpaid balance.
02
ERPNext receivables reach the HubSpot deal automatically, so nobody has to request a manual credit check.
03
Reps get a short written explanation of the overdue invoice, which makes the customer conversation easier to prepare.
04
Every hold leaves a note on the deal and a Microsoft Teams alert, which supports internal credit reviews.
05
Customers that cannot be matched are marked Unverified for review instead of being blocked.
01
Customers with overdue invoices are flagged before signature, so the business is less likely to ship more on credit into an unpaid balance.
02
ERPNext receivables reach the HubSpot deal automatically, so nobody has to request a manual credit check.
03
Reps get a short written explanation of the overdue invoice, which makes the customer conversation easier to prepare.
04
Every hold leaves a note on the deal and a Microsoft Teams alert, which supports internal credit reviews.
05
Customers that cannot be matched are marked Unverified for review instead of being blocked.
Keep exploring
Every repetitive process between your ERP, CRM, and business apps has a template. Find yours, customize it, and go live today.
Customize the flow
Every trigger and action this template uses is available in the appse ai builder, so the same flow can be rebuilt with your own routing, thresholds and destinations.
Questions & answers
Everything you need to know about this template before you deploy it.
Discover how appse ai has helped businesses automate processes and achieve growth through our users' success stories.
Start free — no credit card, no setup calls required. Use this template as-is or customize every step inside the appse ai no-code builder and go live today.