I need to be able to send all names from Column in a table via Post request to an external source.
The external source processes request and gives me different value for each names. I need to check for these names in my source Table and add it across different columns.
Is there any resources or videos explaining in detail?
I have a list of creators with their “name” and “instagram handle” in my table called “Roster” I need to be able to send it to a external DB , this company takes all these names processes it in its backend and stores values like “followers”, “Avg views” etc etc and lot of other parameters in its DB
This data might need to be sent once in 3 days etc.
I understand that I will need to give a button to send data as we need user centric action in glide.
So I will need a post request to send this data right?
Now Second part is once the data is ready on this 3rd party DB
I need to be able to fetch it using a get request
I need to map all those values it gets back into creators in my “Roster” table against their “Name” or “instagram handle”
I take it you’re sending to an external API. If you have access to the Call API action, you can do it that way instead of having to run it every 3 days. Else, maybe a JavaScript call would be the way, but you are at risk of exposing your API key.
If you’re already sending an API call from a row, using their “name” and “IG handle” then the results will live inside that row. Why do you need to map that back?
So you are saying I give List of Names to the external source via API call.
Step 2: I fetch the data and store it in a separate table?
But there is a corner case.
I might send same creator names once in 3 days so instead of writing a new record it should update the existing record for same creator name right? That’s why I’ll need mapping.
You don’t give a list, every API call goes with the data on its own row. It fetches automatically for you, your only work is querying from the JSON your API returns.
I have got the api to send list of “CreatorName” and “InstagramHandle” by checking “Show API”
I got the curl for it.
The curl will have fields which have value in it in response
Meaning in its response it will show fields which have value, Example if it has any value in column with name “Followers” it’ll show it else it wont.
Now when the external server processes my request and sends in value back,
How can I map the fields back to corresponding columns?
EX: If there are two fields called “Avg Reel Views” and “Engagement Ratio” will come in after they process the request.
Thank you for replying. SO whenever I click “Add button” and add new values I add dummy values to all fields which I would want response to be written to?
Your issue is that when you query the table through the API, any columns that are empty do not show up in the API response, so you can’t map them - correct?
The workaround is to temporarily add dummy values to those columns, then they will show up and you can map them. You only need to do that once, and then you can remove the dummy values.
If that’s not the answer you’re looking for, then it means I’ve completely misunderstood your question.
Okay, so I did misunderstand. Can I assume that you are using make.com?
My responses below are based on that assumption.
At this point, you will have the RowID value for each row.
Use the RowID values that you obtained earlier.
If you do all this inside an iterator-aggregator loop, you should be able to refer to the RowID values directly on each iteration, prepare a mutation to update that specific row, then bundle all the mutations up into a single API call back to Glide at the end of the loop.
I was thinking of making use of Glide API since my plan allows me to do it?
Wouldn’t I be able to add values obtained from 3rd party into my same glide table? which basically has these creator names or ID’s as you pointed out?
Ill make provision in my table to have columns which can house these values