i’m trying to create a webhook to retrieve all group members of the group and also the members of the subgroups. I only need the list of members, no need of the subgroups information. During the execution, there is a IF node to split a flow for groups and members. In case of a group is found, there is a http call to the same webhook to check the members of the subgroup.
The informations retrieved from google api, is stored in a google sheets.
It’s working but it’s not optimised. For example, a group containing 5 subgroups, will execute 18 webhook calls instead of 5 (number of subgroups).
Below a picture of the workflow. Any ideas wow can to optimise this workflow?
Thanks in advance!