How to search and replace in a JSON file


I’m looking to replace text in a JSON with variables that are present earlier in my scenario.

Here is the JSON module :

The variables are here :

I would like a module like this one but this one is impossible to install :

Thanks for your help.

Welcome to the Make community!

Please provide the output bundles of the Aggregate to JSON module by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.


Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-output-bundle.txt (12.3 KB)


If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    input/output bundle content goes here

  • Or use the format code button in the editor:

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

This will allow others to better assist you. Thanks!


Please find the output bundle of the aggregate to JSON module :

module-51-output-bundle.txt (40.2 KB)

Do you need something else ?

You can do something like this



Thanks a lot @samliew

I have to do it for more than 150 values.

What should I do for this kind of volume ?