I just discovered that in order to have an API workflow return a value, you have to actually expose it as a public API and call it via API Connector. That’s bonkers to start, and I also have some questions about doing this that aren’t answered in the documentation or anywhere I can find:
1:
How do I authenticate when making a call to my app API? The example I found in this thread was helpful but he just runs it without authentication, which I’d rather not do.
2:
How do I initialize so that the API Connector correctly detects the returned data? I’m trying to return a list of companies, so just for initialization I have the API workflow returning a generic list:
But when I initialize, in the API Connector, this is what it gives me:
Why am I not getting the correct fields back?
Here’s my API Connector setup if it helps:
Any ideas are welcome, thanks!