Using external API data as a data type (in a RG)

Context: I’m building a fantasy football app of sorts.

I have a data type “Player” - which has various attributes such as name, rank, position.

I want to display a list of player data from an external website and have it reconcile with my own ‘Player’ data type so I can do things like use it in workflows and create entry in my database.

So far I have successfully displayed this player data from an external api through a Repeating Group and have been able to build a basic search function:



However, I have no idea how to connect this external data to my actual Players data type. When I try to run workflows on the above Repeating Group, it doesn’t recognize Type of Content as ‘Player’ (or even give me to option to). I am probably missing some basic step here to reconcile the two but I haven’t been able to find any resources. Any insights would be helpful! Let me know if I can provide more context/screenshots also.

You probably need to change it to “Use as Action” in your API Connector so you can use it in the workflows.

The issue is that when I change it into an Action - the option disappears from my RG Data source:

I’ve tried this with 2 different APIs (SheetDB and Sheety) - both give me the same issues. But when I change it back to ‘Data’, the option appears for me again.

You can’t reference that external api to your Player, so what you’ll do is to use it as action then save the data to your Player. Now, you can do whatever you want, like use it in wf or create new entry.

Got it - so does this mean I have to set up 2 API calls? One just set to Data and one set to Action?

This topic was automatically closed after 70 days. New replies are no longer allowed.