Set variable producing empty collections from http easybill

Welcome to the Make community!

You don’t need the double quotes around the company_name parameter in the map function. Remove them.

Also, the map function works with ARRAYS. You inserted 15.data, which is NOT an array. Look closely and see which other variables is an array?

You can use the built-in functions map and first to access variables within an array.

e.g.:

{{ first(map(15.data.items; "company_name")) }}

Copy and paste the above line exactly.

For more information, see the “Mapping with arrays” link below.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

Getting Started

Help Centre Basics

Articles & Videos

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.