sendingtk / chatwoot

Other
89 stars 78 forks source link

Conversation_updated event webhook triggers twice #93

Open TheEmanuelSampaio opened 4 weeks ago

TheEmanuelSampaio commented 4 weeks ago

Describe the bug

This is a chatwoot issue that the team never bothered to fix.

When a automation rule is seted up for conversation update, and the event trigger is add or remove a conversation label, the webhook is fired twice! See a issue on Chatoot repository: https://github.com/chatwoot/chatwoot/issues/7402

Screenshot 20240815_234917

Soo, any clues?

To Reproduce

  1. Create webhook, or automation involving "conversation_updated" event.
  2. Add/remove a label from a conversation.
  3. Watch in your destination two webhooks coming at the same time, instead of once.

Expected behavior

No response

Environment

app.chatwoot.com

Cloud Provider

None

Platform

None

Operating system

No response

Browser and version

No response

Docker (if applicable)

No response

Additional context

No response

nestordavalos commented 3 weeks ago

I don't understand the error you mention, could you give more details?

TheEmanuelSampaio commented 3 weeks ago

Look at the end of the gif... The event is fired ONCE but in N8N i get TWO incoming webhooks. And at the exact time (as shown below)! image