Hi everyone! Hoping someone here can give me a hand
Context
I’m building an automation with n8n + Airtable to generate training plans and workouts.
Airtable structure
I have two tables:
-
Training Plans
-
Each record corresponds to one person (with their athletic info).
-
This record is the input for generating workouts.
-
-
Workouts
-
This is where the sessions created by OpenAI through n8n are stored (workout type, description, etc.).
-
It has a field “Link to another record†pointing to Training Plans, so each workout can be linked back to its plan.
-
Desired relationship:
-
One plan (1) → many workouts (N).
-
Every workout should be linked to the correct training plan for that person.
What I need
I want the automation in n8n to not only create the workout records in Workouts but also automatically link them to the corresponding Training Plan (via the Link to another record field).
Where I’m stuck
The workouts are being created fine (with type, description, etc.), but the link to the plan isn’t being set.
From what I understand, Airtable requires you to send the recordId of the plan (not just the name) into the Link to another record field — but I’m not sure how to format/pass that correctly from n8n when creating the workout.
What I’m looking for exactly
-
The right way to send the link from n8n when creating a new record in Workouts (e.g., should it be an array like
{id: "recXXXX"}
?). -
An example configuration of the Airtable node in n8n (or using HTTP Request with the API) that shows how to properly populate a Link to another record field with the correct plan ID.
Thanks a lot in advance for any pointers!