Why am I hitting my invocations limit so quickly each day?

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

Kevin Heraly : Hey there - new Pipedream user here. My question is around invocations, and wondering why I’m running up against my limit so quickly each day. My workflow is triggered by an incoming webhook that should really only trigger a couple of times per day, but I’m hitting my invocation limit very early each day.

What can I do to help solve this issue?

Kevin Heraly : Also, what other information can I provide to help diagnose?

Dylan Sather (Pipedream) : Welcome . If you visit https://pipedream.com/settings/billing, you’ll see a chart of your daily invocations. Click on one of those columns, and you’ll see the breakout of invocations by resource. That should help you identify what source / workflow is incurring the most invocations.

Kevin Heraly : Hey Dylan - thanks for the speedy reply! I only have one workflow, so I know where it’s coming from, but I guess I don’t understand ‘why’ it’s using as much as it is, given that it should only receive 1 or 2 of those webhook entries per day at most

Dylan Sather (Pipedream) : Can you share your workflow with dylan@pipedream.com?

Dylan Sather (Pipedream) : Also, would you mind visiting https://pipedream.com/settings/billing just in case? I’d like to see what the stats show there

Kevin Heraly : Email sent and screenshot below of the usage :slightly_smiling_face:

Dylan Sather (Pipedream) : Thanks. Does that address your question? Are you using those resources at the top?

Kevin Heraly : I am, but I can’t understand why the number of invocations is so large. You can see on Feb 2, 2021 that the New Closed Won Deal fired off, and 3,585 invocations, however this was just one deal that triggered

Dylan Sather (Pipedream) : The Hubspot triggers (technically called an event source) run on a schedule, polling your account for new close won deals. You’ve got one of those sources configured to poll for new events every 15 seconds. The event source runs as its own process, and counts an invocation each time it runs, which is why your count of invocations is so high - it’ll run 240 times an hour.

Can you reduce the frequency of the source so it doesn’t run every 15 seconds? Alternatively, you could setup an HTTP trigger in your workflow and configure a webhook in your Hubspot account to deliver events to your Pipedream HTTP endpoint. Would that work?

Kevin Heraly : Hi . Thanks for the help so far! I think I’ve done this correctly, but I can’t test because I hit the invocations limit. Any chance you could refresh my limit for today so I can see if this fixed it?

Dylan Sather (Pipedream) : Hi , I gave you an extra 3,333 invocations today - you should see that reflected in your usage settings. Let me know if that helps