How to handle external api call to get token

Hello everyone!

I hope you’re all doing great.

I’m currently working on a feature where I need to generate a token each time a workflow runs and dynamically use that token within an HTML element. I’m looking for guidance or suggestions on how to achieve this seamlessly.

Your insights or tips would be greatly appreciated!

Thank you in advance! :blush:

you can get a token for a specific use By using log the user in inside backend workflow.

just create a backend workflow which take two input email and password inside the workflow use the login action that set when you call this workflow it will generate a token for that specific user and return the token.

Note: you hv to call the backend workflow from API Connector, i also suggest to use a token even for api Connector to authentication the call gen a token from editor so the call you sre making is authenticated.