Aykhan Rustamov

Synergy3 · Integrations · Jul and Oct 2026

Facebook and Angi leads into NetSuite

Leads from Facebook ads and from Angi used to be typed into NetSuite by hand. Now each one arrives as a lead on its own within seconds, with its source attached, and Angi’s fee for the lead with it.

  • RESTlets
  • Cloudflare Workers
  • Zapier
  • Token based auth

Why there is a relay

Facebook lead forms reach Zapier first. NetSuite does not accept an anonymous post, so a small Cloudflare Worker sits in between and signs each call with token based authentication. The RESTlet behind it creates the lead on the right form, with the campaign it came from and the cost of the lead.

How it worksHow a lead reaches NetSuite
Facebook leadformfilled in from an adZapierthe company's ownaccountEdge relaysigns the call toNetSuiteSeen this lead?Lead in NetSuitesource and lead costattachedNot createdlogged, nothingduplicatedAngi leadsent to a webhookField mappingaddress, service,Angi's fee
  1. Facebook lead formfilled in from an ad
  2. Zapierthe company's own account
  3. Edge relaysigns the call to NetSuite
  4. Seen this lead?new lead in netsuite · already in not created
  5. Lead in NetSuitesource and lead cost attached
  6. Not createdlogged, nothing duplicated
  7. Angi leadsent to a webhook
  8. Field mappingaddress, service, Angi's fee

Duplicates are caught on the lead's own ID. The email only counts when that ID is missing.

The duplicate rule that was wrong

At first a lead was skipped when its email was already on file. Reading the logs I saw that this dropped returning customers with a new enquiry. Duplicates are now caught on the lead’s own ID, and the email only counts when that ID is missing. Forms for job applications are recognised and kept out of sales.

Angi

Angi has no NetSuite integration. Its leads come in through a webhook, with the name, contact details, full address, service type and Angi’s fee for the lead mapped onto the record. Angi’s own test lead came through correctly on the first run.

What it includes

  1. Facebook lead forms into NetSuite through a signing relay
  2. Angi leads into NetSuite through a webhook
  3. Duplicates caught on the lead’s own ID, not the email
  4. Job applications on the same forms kept out
Described at the level of the work, never the data. No code, records or customer details from this system appear on this site. A walkthrough is available on request.

Contact

Tell me what slows your team down.

Available for ERP and NetSuite work, platform integration, and full product builds. The quickest way to reach me is email or WhatsApp. I reply within a day. If you are writing about a role or a build, a sentence on what the system has to do is more useful to me than a job description.

hello@arustamov.dev
Email meDownload CV