Why is the Gmail New Email Received Trigger Sometimes Not Calling the Webhook?

This topic was automatically generated from Slack. You can find the original thread here.

Hey Team! Sometimes Gmail New Email Received trigger does not call the webhook. Example trigger id: dc_ZduYEGX

When I check the trigger events, they are there. However, the webhook is never called. This has a negative impact on the quality of my product, as users will not be able to make the workflow work and will complain or stop using it. Could you please take a look?

Is there a way to see why the webhook wasn’t called?

Hi Siraj,

Just curious to understand the implementation, would you mind sharing the sample code. ?
Also, are you using OAuthappid for custom Oauth client.

Hi Nitin! Here is the code:

I don’t think it’s an implementation problem, as it works 70–80% of the time. It just sometimes fails to call the webhook, and I would like to know why and see the logs.
_const_ deployedTrigger = await pd.triggers.deploy({
id: _triggerKey_,
externalUserId: userId,
configuredProps,
webhookUrl,
});

Try viewing the logs here: Pipedream - Connect APIs, AI, databases and more

You can replace dc_ZduYEGX with whichever deployed component ID you want to view the logs for

As I am using Connect, the triggers that users create don’t appear in the Source view. Is there a way to view Connect trigger webhook calls?