Filter not picking up all custom fields

1. Filter incorrect

I think your filter is incorrect,

You are comparing the variable mappingKey to

Yes, you are welcome to add me to your email

but the value coming from the webhook is

marketing-consent

So it will never allow the bundle through

2. Get specific collection from an array

You need to change your filter 1. customValues[ ]: mappingKey to

{{ first(map(1.customValues; "value"; "mappingKey"; "marketing-consent")) }}

This means that you want to get the “value”, where “mappingKey” is equal to “marketing-consent”. The map function returns an array, so you want to get the single/first item by using the first function.

For more information on how to map values within arrays, see Mapping with arrays 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 —

General

Help Center Basics

Articles & Videos

samliewrequest private consultation

Join the unofficial Make Discord server to chat with other makers!

2 Likes