How Can I Prevent Duplicate Webhook Executions When a Mobile App Retries a Request?

Status: Closed Β· Asked by Saad Sabhi Uddin on Β· 0 views

Saad Sabhi Uddin β€” Question Β·

Our team at AppVerticals is using Pabbly Connect in a custom app development project. The mobile application sends an event to a Pabbly webhook whenever a user completes an order.

The problem occurs when the user has an unstable connection. If the app does not receive a response quickly, it retries the request. Pabbly then receives the same event more than once, which can create duplicate CRM records and send duplicate notifications.

Each request already contains a unique event_id, an order_id and a timestamp. I tried adding a filter based on the event ID, but I could not find a reliable way to check whether that ID was processed during an earlier workflow execution.

What is the recommended way to make a Pabbly Connect webhook workflow idempotent? Can Pabbly store and check each event_id before running the remaining actions, or should this logic remain in the application backend?

Expected result: each event should be processed only once, even when the mobile app retries the webhook request.

Pabbly Support β€” Reply Β·

Hello Saad,

Thank you for reaching out and for the detailed explanation.

To check the workflow and Task History, please share the workflow name and workflow URL with us.

We assure you that we will only review the setup and will not make any changes to your workflow.

Thanks & Regards,
Naman Bansod
Customer Support Specialist
🌐 Pabbly.com
πŸ‘‰ Rate your support
Pabbly Support β€” Reply Β·

Hello Saad,

This is a final follow-up regarding your query about preventing duplicate webhook executions.

We still need the following details to review the workflow and Task History:

  1. Workflow name

  2. Workflow URL

We will only review the existing setup and will not make any changes to your workflow.

Please share these details if you would like us to continue the investigation. Otherwise, we will consider the query closed for now.

Thanks & Regards,
Naman Bansod
Customer Support Specialist
🌐 Pabbly.com
πŸ‘‰ Rate your support
Pabbly Support β€” Reply Β·

Hello Saad,

Please disregard our previous email mentioning this as a final follow-up.

Just following up on our previous communication regarding your query about preventing duplicate webhook executions.

Please share the following details so we can review the workflow and Task History:

  1. Workflow name

  2. Workflow URL

We’ll review the existing setup and assist you further.

Thanks & Regards,
Naman Bansod
Customer Support Specialist
🌐 Pabbly.com
πŸ‘‰ Rate your support
Pabbly Support β€” Reply Β·

Hello!

It seems that the matter has been resolved, as we haven’t received any further queries from you.

If there are any other concerns, please do let us know. We will be happy to assist you.

Thanks & Regards,
Naman Bansod
Customer Support Specialist
🌐 Pabbly.com
πŸ‘‰ Rate your support

Back to all forum threads Β· Log in to reply