Iterating over Tally form responses (key/value) to fetch matching business rules from a Notion database

Hi everyone,

I’m currently facing a challenge in one of my Make scenarios and would really appreciate your input :backhand_index_pointing_down:


:wrench: What I’m trying to do

I’m working with responses collected from a Tally form (stored under the fields object), and my goal is to:

  1. Iterate through each key/value pair in the fields object
  2. For each key, check if there is a corresponding rule in a Notion database
  3. If the value matches one defined in the rule, display a predefined text block (also stored in the Notion database)

:camera: Example

Here’s a simplified version of the fields object:

And here’s what a Notion business rules database looks like:


Here’s a simplified version of the rules from the Notion database :


:folded_hands: What I need help with

  • What is the best way to structure the array from the fields object so I can iterate through it key by key?
  • What is the proper sequence of Make modules to perform this logic cleanly?

Thanks a lot in advance for your help :folded_hands:
Let me know if you need screenshots — I’ll gladly share the module outputs!

hi @Blogforinterieur,

the data structure tells me that you are working with the raw webhook output, right?

If you use the Tally App within Make, the data structure is much more simplified. It makes it way easier to use your Tally data! :slight_smile:

Best,
Richard

2 Likes