Make a Api Call with make.com and GoodBarber stuck - json

I would like to display information on Google Sheet, I have connected my GoodBarber API to my Google Sheet, however some data does not appear in the fields of Makes.com, I must therefore make a "Make a API Call" in order to get this information.
To do this, I installed this plugin, but I'm stuck on the code part for the API.
Here is a part:
Here is the feedback from the database, but the data that is not viisible on the sheet is:
"selected_delivery_slot": {
"date": "2025-04-15",
"slot_end": "08:40",
"slot_start": "08:30"
},
The configuration of the fields below are:
Can you help me please ?
Best regards,
I want with the Make.com solution to display all the data on a Google Sheet, but some data does not appear. So you have to call the "Make a API Call" module but I'm stuck at this step.

Related

Call Custom Function from cell that calls YouTube API

I have searched a lot for this already, and I honestly can't believe that I haven't been able to find the answer, even if it's "You can't do that".
I have created a bound Google Apps Script Project inside of a Google Sheet. That project contains a function called getVidViews source:
function getVidViews(id){
//id = k3y1hJPVavY
let res = YouTube.Videos.list('statistics',{'id':id});
return res.items[0].statistics.viewCount;
}
If I run this code from the Project Editor IDE and un-comment the line where I set id. I'm redirected to authorize oAuth scopes, and the function executes exactly how I want.
However, I want to have a spreadsheet where I have the id in cell A1 and I want to paste the result of the call in B1.
I should be able to accomplish this by pasting an id in A1 and using the formula =getVidViews(A1) in B1
When I do this, I get the error:
GoogleJsonResponseException: API call to youtube.videos.list failed
with error: The request is missing a valid API key.
I cannot figure why it is requesting an API key here, but not in the code editor. Also, I know that Google Apps Scripts create a hidden GCP project, but don't know if I can add an API key to that project for use in this instance.
Please point me in the right direction.
Custom functions only support certain services and YouTube isn't one of them.
Here's a deep dive into custom functions if you are interested.

Why am I receiving "Could not fetch URL" error on Google Sheets Import XML?

New here, and still trying to wrap my mind around this importXML tool in Google Sheets. Seem to be able to get it to work on certain websites, but when data is deeply embedded in code, I struggle.
Goal: To pull in weight of items listed on bricklink.com to a Google Sheet.
Link to my Google Sheet: https://docs.google.com/spreadsheets/d/1_vhCkEJXofxMj1Cg117RgPJSFTqPF0ijo_f60mDR6MU/edit?usp=sharing
When I copy the xpath from the source code on the site, I'm given this value: //*[#id="item-weight-info"].
The existing fomula I have is: =IMPORTXML(D2,"//*[#id='item-weight-info']")
D2 Contains the web address where it concatenates the website + the item number.
Error I'm receiving is: "Could not fetch url: https://www.bricklink.com/v2/catalog/catalogitem.page?S=21318"
I did come across a potential JSON solution, set up a JSON function in the sheet, but have never written a script before. Tried to copy a script, and tweak as needed, but still no luck.
Is there an easier way to do this that I'm overlooking?
Any guidance or suggestions would be greatly appreciated. Thank you for your time!

Share Google Drive Folder via Zapier with Mailchimp trigger

I can't figure out how to format the "Custom Value for Sharing Preference" on this Zap I'm trying to create that will share a Google Drive folder with my new Mailchimp subscribers.
I've been able to get the File ID using the Drive API, but I'm not sure how to provide the Custom Value that should come from the New Mailchimp Subscriber Email.
If I simply choose the Email address from the Mailchimp dropdown provided by Zapier and test it, I get an error:
We had trouble sending your test through. The app returned "The
permission type field is required.". This usually happens when your
Zap is missing a required field or a field value isn't in a recognized
format.
EDIT: Success via the Google Drive API test.
Using the sandbox available here, I know that I need to:
POST https://www.googleapis.com/drive/v3/files/fileId/permissions
the following Request Body
{
"role": "reader",
"type": "user",
"emailAddress": "email#example.com"
}
I've been able to run that test a few times with Google's sandbox, so I know I can do it. I just don't know how to pull this into Zapier.

Get access token for google spreadsheet

I need to know what is the exact API and parameters to write the data into Google Spreadsheet.
I am new to Google APIs. I am trying to integrate one of the SAP product ByD with google spreadsheet. So I need a REST URL and description.
I understood that, (https://developers.google.com/identity/protocols/OAuth2WebServer#handlingtheresponse)
Get Authorization code
From (1), Get Token Value
Call Write API along with Token Value.
Is this correct? Or any detailed step by step proceeder documentation?
I have tried to access authorization code as shown in the below screenshot. But it is returning 400 Bad requests
.
Regards
Sankaran A

Store changing data to a date in google spreadsheets

Here's the spreadsheet I'm working on so that it serves the purpose of keeping track of my goals --> Link
I'd like to display the data in a graph like the "Test Graph" page shows. I would need a function to check for any updates in the "Goals" page and display it like in the "Test Data" page. I'm a beginner and I don't know how to write Google App Script, I've tried with spreadsheet functions but didn't manage.
Thank you very much! Feel free to download the spreadsheet if you find it useful for you too!