Skip to content
How to add multiple...
 
Notifications
Clear all

How to add multiple record IDs to a linked field in Airtable?

5 Posts
3 Users
0 Reactions
6 Views
Med_FutureXAI
(@med_futurexai)
Posts: 14
Eminent Member
Topic starter
 

I have two tables in Airtable: one is named Skills and the other is Employee. My goal is to link multiple records from the Skills table to a single record within the Employee table.

Here's a breakdown of the process I'm following:

  1. I retrieve the record IDs from the Skills table.
  2. I intend to add these Skill record IDs to a linked field in the Employee table.

However, I'm facing an issue where some record IDs appear empty in both the Array Aggregator and Set Variable modules. This prevents me from linking all the intended Skills records to the Employee record.

How can I effectively link multiple Skill record IDs to an Employee record? Any guidance would be greatly appreciated.

The Update Record in Airtable action is returning the following error: Operation Failed with error

 
Posted : 02/07/2024 6:25 pm
Mr.Make
(@mr-make)
Posts: 25
Eminent Member
 

Hi there. Welcome. I've set up a similar scenario and was able to achieve your desired output. Please follow these steps and let me know if you have any questions.

  1. Search your Airtable base for the necessary records using a formula.
  2. Filter between the Airtable search results and the array aggregator to prevent empty record IDs.
  3. Aggregate all record IDs from Airtable using the ID field.
  4. Search for the required employee in the Airtable search module. If you can share a full screenshot of your scenario, I can assist further, as I'm currently unsure where you're sourcing that variable from.
  5. Map the array of IDs from the aggregator into the link record.
  6. Ensure that your column in Airtable has this setting enabled.
    image
 
Posted : 02/07/2024 7:42 pm
Med_FutureXAI
(@med_futurexai)
Posts: 14
Eminent Member
Topic starter
 

Hello! I'm encountering an issue where the Record IDs are not being written during the update process in my callin.io workflow. Could someone please point out where I might be going wrong?

  1. Overall Workflow

    2.Get the output from parse json

    3.iterator over the parse json

  2. Search with table which specific skills matches and get the IDs

  3. Pass the ID to Set Variable to get the IDs using
    {{map(135.array; “id”)}}

  4. Getting the Error While updating the Airtable Record ID

 
Posted : 03/07/2024 4:17 am
dilipborad
(@dilipborad)
Posts: 28
Eminent Member
 

Please verify these initial points. This can be accomplished using the Airtable formula itself.

  1. Create a formula field and implement the formula RECORD_ID()
  2. Create a lookup field and choose your ID field as the lookup. This will present the record IDs of the linked items, separated by commas. Success!

If this approach doesn't suit your needs and you require performing these actions via callin.io, then within your iterator, utilize the filter when searching for employee skills. If no matches are found, use the continue command to bypass that record.

Kindly inform me if you continue to encounter errors.

 
Posted : 03/07/2024 6:04 am
Mr.Make
(@mr-make)
Posts: 25
Eminent Member
 

It appears that you still have empty values in your variable. Try filtering them out before setting the variable with the array of IDs. If this solution doesn't work, could you please share the input where you're placing the IDs?

 
Posted : 03/07/2024 11:57 am
Share: