Autorun AI Docs

Linking Entities with Lookup

A Lookup field creates a one-to-one relationship between two entities.
You use it when one record needs to point to exactly one other record - for example, a single OfferItem belongs to one Offer.


Super Fast Build: Prompt for Mileva

Link the offers entity to an employee - an Offer needs to be assigned to a specific person so that, in practice, each employee can track the offers they've issued.


Example: Offers → Employees

Steps:

  1. Go to Developer Toolbox (Only visible when in Edit mode)

  2. Click on Database

  3. Hover over, for example Offers

  4. Click on +

  5. Select the Field Type from the dropdown menu: Lookup

  6. Type in the Display Name textbox: Employees

  7. From the Table Name dropdown menu select: _user

  8. From Display Key dropdown menu select: FullName

  9. Click Save


What this does:

  • This links each Offer to one Employee from the _user system table.
  • Lookup Values: FullName provides a user-friendly display.

Why it's needed:

  • When an Offer needs to be assigned to a specific person, Lookup is the simplest and cleanest solution.
  • We link Offers with Employees so that, in practice, each employee can track the offers they’ve issued, monitor their own pipeline, and so on.

In short

  • Lookup = each record points to one other record (Offer → Employee).