Count how many times a module is used in a scenario run

Hello, I have a scenario with a repeater, router and filters.

I would like to count how many times certain modules (after a filter) operate during the scenario (the little operations number bubble you see when you run a scenario)

This is so I can plug it into the webhook response eg. in the screenshot, if the {2.set a variable} module runs once, and the {3. set a variable} module runs twice, the webhook output can be e.g. operationsused=3

However I don’t know how to retrieve this number. Please help

You can put an Increment (“Counter”) module after them, and reference that variable.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

1 Like

Thanks! How do I reference that variable as its not connected to the webhook? I also cant name the variable to get the variable in the webhook branch?


Hmm, good question. You can try putting it before the set variables, and then you can set a new variable for the Increment value.

Screenshot_2024-06-28_140634

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

2 Likes

That works thank you!