#Webhook Event duplication (old thread)

1 messages · Page 1 of 1 (latest)

coarse gyro
#

Hi team!
I'm working on extending TwentyCRM with a Zapier-like automation tool called N8n (N8n.io). I'm seeing some odd behavior with how TwentyCRM is sending Webhooks.

I have a custom data model called "Automations" that is effectively an extention of the standard Companies model for things such as client onboarding, system email send status, etc.

I'm on v0.23.2, and I have a Webhook filtered to Automations, UPDATE events to be sent. But I'm receiving ~4 duplicate webhook payloads on a single field's value change.

I've incorperated some consistancy/idempotency into my worflow to set concurrency=1 and a GET to ensure we're using TwentyCRM's latest value and not the value in the Webhook payload. This has solved the duplication issue on my end, but it is 4x the workflow execution load at the moment to filter out these events.

Does anyone know what the cause could be of why so many events are being thrown?

Do record view's or GET's via API cause these events to be thrown?

Thanks!

torpid cairn
coarse gyro
#

It's super easy to make your own integration for TwentyCRM in N8n, I think it took me all of an hour or two after understanding TwentyCRM's REST API

torpid cairn
coarse gyro
#

It's really easy, there isn't really anything to document as odd as that is to say:

Then just start chaining them together like this:

#

If you've got specific questions about any of the Core APIs or anything, feel free to open a new help thread and we can continue there, hoping to keep this thread centered around possible causes of the Webhook event duplication

torpid cairn
#

Wait, you can add webhooks directly with Settings

#

I'm blind

#

@coarse gyro I'm trying to check webhooks on webhook.site, added correct URL in settings but created few objects and no webhook was received

coarse gyro
#

Can you open a new help thread for troubleshooting getting your webhooks wokring?

#

Webhook Event duplication (old)

#

Webhook Event duplication (old)