Chargebee Watch Invoices

Hello everybody,

I’m having an issue with retrieving invoices in Chargebee. The flow is supposed to run whenever an invoice is generated. However, I’ve noticed that new invoices are always generated at 00:00 on the same day, and it seems the flow isn’t being triggered. Does anyone have any ideas?


Polling Triggers & Empty “Check Runs”

This is because the module is a POLLING trigger, and not an INSTANT (Webhook) trigger.

If you don’t see any operations after the trigger module, it means there are no new responses (empty output bundle) when the scenario ran to check for new items. This is called a “Check run”.

There are two main types of triggers, Polling (scheduled), and Instant (webhooks). Polling triggers can only run on a schedule. Instant triggers can be run as soon as data is received by the webhook.

  • Polling means Make checks external service for changes (pull changes to Make).
  • Webhook (instant) triggers means external service calls Make when there are new changes (push changes to Make).

The module you are using does not push changes — it’s basically a API request that Make has to occasionally “call” to fetch the latest changes/items.

To find out more on the different types of Trigger modules, see refer to Types of Modules and Webhooks sections of the Make Help Centre.

If you want your scenario to only run when there is new data (and not on a schedule or timed interval), see if your app has an “Instant” or “Webhook” trigger in Make. If not, check if the third-party service has a feature that can send out a webhook when content is created/updated - and then you can point it to a “Custom Webhook” trigger in your scenario.

If you want to re-run your scenario on older data,

Polling Triggers: Epoch Panel & Selecting Older Data

Go to the Epoch Panel, by right-clicking on the trigger module (polling triggers only), and select “Choose where to start” from the list of options in the context menu.

If you select “From now on”, the next time the scenario runs it will only return new data (or nothing if there is no new data).

You can also select other old data to re-run your scenario with next using the “Choose manually” option. This will then show you a list of previous historical items you can select to process the next time the scenario is triggered.

For more information, see

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Hello samliew,

thank you for your help!

I managed to resolve the issue using a different approach. Instead of relying on a polling trigger, I set up a webhook in Chargebee that automatically sends invoices each time they’re generated. This method has several advantages: it allows the process to run instantly, eliminating any delays that come with scheduled polling, and it reduces the operational costs on make.com’s side since it doesn’t require repeated “check runs” to retrieve updates. Overall, this setup provides a more efficient, real-time solution that better meets my needs.

Regards,
Fabix

1 Like

That’s what I said :slight_smile: