Thwy can be triggered IN THE api workflow
In not finding the âRun (appname) (workflowname)â action on the normal workflow, does any one knows why?
Have you added the call in the App Connector settings?
do you mean the App Connector plugin set up process?
Change the âUse Asâ dropdown from data to action.
Data APIs can only be used in dynamic expressilns, action APIs are workflow blocks
solved!
a million thanks
wish i would of found this post sooner.
This very much helped meâthanks!
Really appreciate this mate. Do you know if there is a way to make the data types the same? In the backend workflow a parameter is set to type User. However when I try and use that data in the front end it is type Appnameâs User.
Youâll have to Do a search for User:unique ID = Appnameâs Userâs unique ID:first item to convert it back to a data type (because the API connector doesnât âknowâ that this is a data type rather than any other API)
The issue with that is that then I would have to make the user data type public as the user isnât logged in when this needs to happen (itâs part of the login process)
If youâre checking if a user exists with a certain email, a backend workflow that returns a yes/no is sufficient (userExists = yes/no). It would take the user email as a parameter, and return data from API as Do a search for user where email = BE workflowâs email:first item is not empty.
Otherwise you need to manually specify how each field is used when youâre using it (you canât reference Userâs X, you have to reference the API callâs X).
Really appreciate the help! However I need to assign a temp password to the user. I just realised now that I could do this in the backend and just return the password to log the user in. Iâm not at my laptop now but Iâll update in case anyone else is having a similar issue
Okay, just have caution with security as youâll run into the same security issue as here:
Great post, its really helpful.
I am using my flow for signup/login with an API. So what I decided to do is send the tokens retrieved on the front end to the backend workflow. Then make the call to get the email on the backend (I figured this is the security as it is almost impossible to guess these tokens), then assign the user with the email from the call a temp pw. Then send the pw back to the front end to log the user in. I was going to log the user in on the backend but realised that didnât work.
Really appreciate the help.
Someone just pointed me to this post and my mind is blown, Iâd never heard of this App Connector method.
Going to save me so much time setting up and updating via the API connector, thanks so much for sharing @georgecollier!
Thanks for this @georgecollier. It seems like I may have hit an edge case as I am trying to set this up in my app with multiple branches but the App connector only seems to be able to reference workflows present in the live and main environments and canât see workflows I create in a new branch. Have you experienced this?