Hi everyone,
I’m trying to optimize a flow, both in WUs and loading time.
And I have a question I couldn’t find in the documentation regarding the parameters we send to APIs and Triggers.
Does anyone know if the number of parameters sent makes a big difference in optimization?
I know that in some cases I could be sending a single field and retrieving other information from it, instead of sending multiple standalone parameters. But I’m not sure if the effort is worth the performance gain at this moment.
Thanks in advance!
Hi @iacube.contato 
The problem is not the number of parameters. It’s the values that go into them.
For example, calling a trigger that needs only one parameter can take much longer than calling a trigger that needs 50 parameters.
This can happen because this single parameter requires a series of analyses, searches and filters. When the other 50 are basic information extracted from some variable already loaded in the frontend.
Now, if your question is about whether there is any improvement in sending blank parameters or not… no, you will not have an improvement in loading. You can continue using your parameters as optional and, if you don’t need them, just don’t fill them.
The number of parameters should not make any difference, if you need to use most of them.
Is there any particular performance/WU issue related to this API?