Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-opus-4-20250514· AnthropicHugging Face LMArena Human Preference 140K

In the webapp, Notion, I have two databases: Areas DB and Topics DB. Entries in the…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Metallama-4-maverick-03-26-experimental’s answer.
  1. User

    In the webapp, Notion, I have two databases: Areas DB and Topics DB. Entries in the Topics DB are related to entries in the Areas DB, essentially Topics are categorized into Areas. If I tag something with a certain Topic entry, can I have the related Area be automatically applied? I want the option to apply an Area either manually or via automatic application via topic. Adjust the formula to allow both options.

  2. Claude Assistant

    Yes, you can set this up in Notion! Here's how to create a system where Areas can be either manually selected or automatically applied based on the Topic selection:

    Setup Instructions

    1. In your Topics DB, make sure you have a Relation property that links to the Areas DB (let's call it "Area").

    2. In your main database (where you're tagging items), create:

      • A Relation property to Topics DB (e.g., "Topic")
      • A Relation property to Areas DB (e.g., "Manual Area")
      • A Rollup property that pulls the Area from the selected Topic:
        • Property: "Topic" (your relation to Topics DB)
        • Property to show: "Area" (the Area relation in Topics DB)
        • Calculate: "Show original"
        • Name this something like "Topic's Area"
    3. Create a Formula property called "Final Area" with this formula:

    if(not empty(prop("Manual Area")), prop("Manual Area"), prop("Topic's Area"))
    

    This formula checks if there's a manually selected Area first. If there is, it uses that. If not, it uses the Area associated with the selected Topic.

    How it works:

    • If you select a Topic, the "Topic's Area" rollup automatically shows the related Area
    • If you want to override this, you can manually select a different Area in the "Manual Area" field
    • The "Final Area" formula shows whichever one takes precedence (manual selection wins)

    Optional Enhancement:

    If you want to see both the automatic and manual areas clearly, you could create an additional formula property that shows the source:

    if(not empty(prop("Manual Area")), "Manual: " + prop("Manual Area"), if(not empty(prop("Topic's Area")), "Auto: " + prop("Topic's Area"), "No Area"))
    

    This way you can always see whether an Area was manually set or came from the Topic selection.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.