Calling Sub-Workflow with different credentials

Hi,

I have a workflow integrating Asana with Google Calendar. It contains multiple Asana and Google Calendar nodes, each of which I need to configure the credentials individually.

I’d love to have a single place where I can set the credentials to be reused by all Google Calendar/Asana nodes in my workflow. This would allow me to set up this integration for multiple GCalendar/Asana users.

Any way to implement this? I thought about a Sub-Workflow that could receive the credentials as parameters, but I’m unsure if this is the best way.

Best,
Vitor.

I think Redis hash could be a solution for your case. You would just need to map the source payload to determine the appropriate key (for example, user_id or something else), and the Redis value would contain the Google Calendar and Asana credentials.