KamoCRM

A loan Kamo creates now links, and a refused one says why on the lead

FixSecurityService
Shipped
September 25, 2026 at 9:07 PM UTC
Author
Kamo
Commit
8e1f9b3

Ian's Create Loan reached Arive, was refused inside the Zap, and Kamo never knew: Zapier had already answered 200, and Arive fires no new_loan for a loan made through its API — so even a successful create would never have linked, and after 15 minutes the lead offered a Resend that makes a second loan. The Create Loan Zap now wraps Create Loan in an error handler: - success posts loan_created with Create Loan's own output (already handled: links the pending lead by crmReferenceId); - error posts loan_create_failed with Arive's message. The pending link keeps it as its error and loses its pending clock, so the lead page shows the reason and offers Resend at once — nothing exists in Arive to duplicate. A refusal for a lead that is already linked (a resend after the first went through) or for no lead of the org changes nothing and is logged.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing