Create list of things from API - I'm stuck :(

I’m not familiar with the All Sports API and I’m not sure I totally follow your data structure, but I assume you want to set the Away, Home and ID fields not the Away list, Home list and ID list fields as you’ve shown. If this is correct then try this …

  1. In your api endpoint “add schedule”, add three parameters, let’s call them pAway, pHome and pID, setting their data types as appropriate. I expect they are all text fields.

  2. In the Create a new Schedule step of this workflow, set Away = pAway; Home = pHome and ID = pID.

  3. In your When Button A is clicked workflow, I would suggest deleting the first step and when scheduling your API Workflow on a list, set the Type to All Sports API …json’s results, or whatever it is called. Then set the parameters for your end point like pAway = This All Sports API …json’s AwayTeam; pHome = This All Sports API …json’s HomeTeam and pID = This All Sports API …json’s ID.

If you’re still stuck, you may want to make your app public and share a link, which should it make it easier for people to help.

Edit: I found this old thread that may help - Need help writing to database with list called from api source

8 Likes