Skip to main content

Dear community,

I’m building a workflow to automatically analyze notes about contacts (coming from Granola), extract key data like cities, countries, and other details, and then push that structured information into Notion. The idea is that every time a note is added, it should create/update database entries in Notion and link them through relations (e.g. one person connected to multiple cities and countries).

I don’t have a coding/IT background (I’ve built everything so far with GPT’s help), and I’ve set up 3 Zaps to make this work. It’s mostly functioning, but I can’t get the automation to properly add multiple relations in Notion.

Here’s my setup:

  • Zap 1:

    1. Trigger: Granola note → analyzed by AI.

    2. Split into paths.

    3. Path A → Find Database Items in Notion (Cities) → API Request (Beta) → Loop → Find Database Items → Webhook POST.

    4. Path B is for email, not relevant here.

  • Zap 2:

    1. Trigger: Webhook Catch.

    2. Update Database Item (Cities).

    3. Loop → Find Database Items → POST webhook (this passes on Countries).

  • Zap 3:

    1. Trigger: Webhook Catch.

    2. Update Database Item (Countries).

    3. Then I added extra steps: Create an “Updates” item (summary) and Create a log item documenting the flow.

I’ve attached screenshots of all 3 Zaps for reference.

The problem:

  • Relations update works if there’s only one item, but fails to add multiple relations (for example, linking multiple cities).

  • I’ve tried using both Looping by Zapier and Code by Zapier steps (returning relation JSON like [{"id":"xxxx"}]), but when I pass it into the Notion Update step, either it overwrites the previous relation or leaves it empty.

Question:
What’s the best way to set up Zapier so that multiple relations (cities and countries) are consistently added to a Notion database item? Should I keep using looping and webhooks, or is there a simpler/better pattern I’m missing?

Thanks so much!

Screenshots
 

 

Hey ​@localboy,

I don’t think it’s possible to set up relations through natIve Notion integration. You may want to look into the Notion API here- https://developers.notion.com/reference/page-property-values to set up the relations.

You can send the relations as an array so they don’t get overwritten and use API request action in Zapier to query the Notion API endpoint. Hope it helps!


Hey ​@localboy,

I don’t think it’s possible to set up relations through natIve Notion integration. You may want to look into the Notion API here- https://developers.notion.com/reference/page-property-values to set up the relations.

You can send the relations as an array so they don’t get overwritten and use API request action in Zapier to query the Notion API endpoint. Hope it helps!


I managed to get the relations working, however just single ones. I’ll try your tip with the API request. Thank you!