Is dynamic Database ID supported in Notion's "Create a Database Item" module on Make?


:puzzle_piece: Current Setup

  • Notion DB 1: Sample List
    • Used for logging incoming product samples.
    • Includes a relation property linking to Notion DB 5 (Product List).
  • Notion DB 5: Product List
    • Stores product information.
    • Each product has its own dedicated Notion database, and the Database ID of that sub-database is saved as a text property (e.g., DB ID).

:bullseye: What I’m trying to achieve

When I create a new sample record in Sample List and select a product from the related Product List,
I want Make to automatically:

  1. Fetch the corresponding DB ID stored in that selected product.
  2. Use that ID to dynamically route the data into the correct sub-database.
  3. Run this without having to build separate Create modules or flows for each product.

In short:
:right_arrow: I want to dynamically create a database item in a different database based on the product selected.
There are dozens of products, so building hard-coded routes for each one is not scalable.

:warning: The issue

When I try to map the DB ID field dynamically to the Database ID input in the Create a Database Item module, I get the following error:

[400] path failed validation: path.database_id should be a valid uuid, instead was '{{4.Value}}'
  • The value from DB ID is a valid UUID string, e.g., 2311024e-0000-0000-0000-00009b8521c
  • I’ve tried:
    • Passing it through an Iterator or Search Objects
    • Mapping .Text.Content directly
    • Ensuring it’s plain text with no formatting
  • Still, Make throws the UUID validation error.

:red_question_mark:My questions

  1. Is it officially supported to dynamically map a Database ID in Notion’s Create a Database Item module?
  2. If so, what exact value format or field type (text, rich text, title, etc.) does Make accept and validate as a proper UUID?
  3. Has anyone successfully built a scenario that routes to multiple sub-databases based on related item info (like I’m attempting here)?

:test_tube: My goal

To build a scalable workflow that routes new entries to a specific Notion database (per product),
based on a stored Database ID property in a related database — without hardcoding each case.

Any advice, examples, or workarounds from the community would be greatly appreciated :folded_hands:
Thanks in advance!

Hello Hyeonho,
In the module that throws the error, instead of “Select from the list”, pick “Enter manually”. This way, you are able to map the Database ID dynamically and add any properties you wish to include

1 Like

Hi there, thanks for the suggestion!

I switched the “Database ID” field to “Enter manually” as you recommended.
Could you please provide an example of how to correctly map the dynamic Database ID in this case?

One more question:
I also need to use a dynamic Database ID in the Search Objects module,
but unlike the Create Database Item module, there is no “Enter manually” option available in the Database ID field.

Do you happen to know how to map a dynamic Database ID in this case as well?
Is there a workaround or specific method for using a variable or mapped value in that field?

Thanks again for your help!

For “Create database item”, see screenshot 1. We can enter the database id dynamically, and then add each property we want to populate.

For “Search objects”, see screenshot 2. We can enter the database id dynamically, and then construct the filters. The properties on the Filter follow this structure: property_name | property_id | property_type. You can retrieve this info via a “get database” module.