Filter not picking up all custom fields

Hi there,

I’m trying to set up a filter between Moxie and Mailerlite to check whether someone has consented to be added to my email list. I have 3 custom values in my Moxie form (as per below screenshot) and need to pick up #3 in my filter

While the filter options shows the details of the consent custom value I want (as per second screenshot below),

image

When I select the filter condition, it only gives me custom value 1 (Service), so the filter keeps failing.

How do I select the correct filter condition I’m after? Thank you!

P.S. this was previously working as intended a few weeks ago.

Welcome to the Make community!

How does your full scenario look like?

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filter fields 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, Input/Output bundles

Please provide the input and output bundles of the modules 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”.
Screenshot_2023-10-06_141025

A.

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-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

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:
    Screenshot_2023-10-02_191027

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.

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

samliewrequest private consultation

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

1 Like

Sure thing. Please find attached

  1. Screenshots of module fields and filters



  2. Scenario blueprint
    blueprint (2).json (8.3 KB)

  3. Output bundle
    Bundle Output.txt (7.0 KB)
    (Please note: the input bundle has nothing in it)

Hope this covers everything needed :slight_smile:

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

Thank you @samliew! That was the bit I couldn’t figure out

2 Likes

No problem, glad I could help!

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

4. Do join the unofficial Make Discord server for live chat and video assistance

samliewrequest private consultation

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

1 Like