Extract a value from a text

Hello, I’m new here and I need to know how to extract a value from a text.
My goal is to extract the results from these API returns, add them up and add them to my Google Sheets column B.


Hi @SrTeteu

Welcome to make community.

The data output looks like JSON data. Use the “parse JSON” function to analyze the data, and then map the result data to the appropriate columns.


If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

IF you want to turn on Parse response on the HTTP request you can get the results parsed already from the JSON coming out of the HTTP requests. You don’t need to add more operations with Parse JSON module.

But let’s see what is in the results data so we can help you figure out how to add these? Is there an array there or just a value? Hard to help without knowing what is inside results?

3 Likes

Welcome to the Make community!

What alex said is correct. I’m adding screenshots for clarity:

In your HTTP module settings “Parse response” field, select “Yes” (It is No by default)

Screenshot_2023-12-19_141214

This will allow you to map the response collection in other modules.

If you need help with “adding them up”, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
Screenshot_2023-10-06_141025

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

3 Likes