Item# from list of items not saving properly

I have a data type ’ Course’ with fields assistant_id (text) , current topic (number), topic list (list of text) and current topic text (text). I have an API workflow called ‘change_topic’ with parameters course_index (number), Course (list of Courses) and topic_index (number). I am looking to build a flow where for every course in the database we create daily lessons using the current set up. So what I have done up to this point is the first action of the API workflow change_topic is to make changes to Course action where I modify the field current topic to be topic index value (therefore a number), i then modify current topic text to be the item# in the list ‘topic list’ correspeonding with the topic index . I then schedule the API workflow againi to create a loop that updates every 24 hoursand ensures tha we do this for every course in the database. Would you like to suggest a better setup because as it stands i can’t seem to set the current topic text to being a single value rather it just becomes the entire topic list for that course.


Here is what a single loop outputs in my database

This is what my API workflow looks like

This is the action that’s not saving properly (please database screenshot struggling

and this is how i increment to the next course and topic inside of the topic list

Database setup