Skip to main content

Automations broken?


Forum|alt.badge.img+2

Yesterday I build a number of automations that I fully tested and worked fine but are now broken.

Trigger is new record in a view
Action is update record
What breaks is identifying the record. I want to update 1-2 records that are linked to the trigger record. Since you cannot use a link in the record ID column I have a look up of the record ID.

I now have 2 issues.

  1. The links are showing as not valid (picture 1) where yesterday this was totally fine
  2. I cannot click to add the values. There is a open symbol but when I click it, nothing opens.

Of course I publicly launched the process that relies on these automations today so it’s critical I get resolution to this ASAP.

32 replies

Forum|alt.badge.img+18

I think it might just be an issue with the lookup fields - they don’t seem to play nicely with automations when trying to retrieve values out of them.

Try making formula fields that just point at your lookup fields (pulls the values from the lookup fields), and use those in your automations instead.


Forum|alt.badge.img+18

@Gabi_Messina
I answered within 10 minutes of you posting, and you seemed to indicate there was some urgency here… did this work to resolve your situation?


Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • 7 replies
  • September 11, 2020
Jeremy_Oglesby wrote:

@Gabi_Messina
I answered within 10 minutes of you posting, and you seemed to indicate there was some urgency here… did this work to resolve your situation?


Yes! Thanks a million!


@Jeremy_Oglesby

Hello Jeremy
We are facing the same problem. Since this morning, most of our automations broke.
We were already pulling value (emails) from look up using a formula field. An automation copy/past this formula field value into a TxT column (so we have emails under a text format). An other automation was supposed to send an email to these emails and this automation is now showing an error and an empty “To” field : it seems the automation cannot pick data from a text field anymore.

This is a critical issue as this base is a client base, already rolled-out and our client is actually mad, as we are, that Airtable rolled out an update breaking former automations. Even our snapshots or previous back-up are now showing broken automation. We need assistance, please !


  • New Participant
  • 1 reply
  • September 11, 2020

I encountered the same issue in the automation. I was trying to do cross table automation, and I cannot get the LinkedRecordId. I don’t know how to use formula field to achieve the same goal.

My setting is that: Table B has a linked field back to Table A. When I add an entry to Table B, I will specify the linked record in Table A, and I want Table A record update some value when the entry is added to Table B. How can I do that using formula field instead of linked field?


Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • 7 replies
  • September 11, 2020

HI All,

Jeremy’s solution is currently working for me though it is a bit clunky.

I have my linked field.
I have another field looking up the record ID
I have a third column that is a formula of the record ID field.

I am now powering my automations using the formula field

FORMULA


  • Participating Frequently
  • 6 replies
  • September 17, 2020

I’m trying this approach and it’s not working for me. The automation fails with the error message “The record does not exist.”

When I compare the Record ID that’s being output to the actual record ID in the target Table, it matches exactly, so I’m not sure why I’m getting the error.

Is this approach still working for others? Maybe there’s something I’m not formatting correctly?


William_Muskus wrote:

@Jeremy_Oglesby

Hello Jeremy
We are facing the same problem. Since this morning, most of our automations broke.
We were already pulling value (emails) from look up using a formula field. An automation copy/past this formula field value into a TxT column (so we have emails under a text format). An other automation was supposed to send an email to these emails and this automation is now showing an error and an empty “To” field : it seems the automation cannot pick data from a text field anymore.

This is a critical issue as this base is a client base, already rolled-out and our client is actually mad, as we are, that Airtable rolled out an update breaking former automations. Even our snapshots or previous back-up are now showing broken automation. We need assistance, please !


Hi William,

Can you please explain me how you automate your copy/paste from a formula field into a txt column?

Right now, I’m stuck with an automation because of an email field I retreived from a lookup, that I transform with a formula. But when I use it in an automation, it doesn’t work (actually the mail doesn’t show up)


  • Participating Frequently
  • 14 replies
  • September 19, 2020

@Gabi_Messina, Airtable says that you cannot use lookups that return more than one result (as for that matter, the same happens to Rollups, even if you convert the array to a string).

You can check this out here: https://support.airtable.com/hc/en-us/articles/360050974153-Automations-Overview, in the last section.

This is unfortunate. I’m trying to automate a function that needs to send an email to more than one person, based on a lookup and it simply doesn’t work anymore.


Cedric_NIEUTIN wrote:

Hi William,

Can you please explain me how you automate your copy/paste from a formula field into a txt column?

Right now, I’m stuck with an automation because of an email field I retreived from a lookup, that I transform with a formula. But when I use it in an automation, it doesn’t work (actually the mail doesn’t show up)


Hey Cedric,

I am pretty sure your automation is working, but the testing function of your “send email” is failing. Try to enable it even if it fails. Plus, be sure to have at least one record containing an email adress on the specific view you are using (if you are using when records enters view)

Hope this works,

William


William_Muskus wrote:

Hey Cedric,

I am pretty sure your automation is working, but the testing function of your “send email” is failing. Try to enable it even if it fails. Plus, be sure to have at least one record containing an email adress on the specific view you are using (if you are using when records enters view)

Hope this works,

William


It did work!

You’re right, the test is failing, but the email is sent.

Thx William :slightly_smiling_face:


Cedric_NIEUTIN wrote:

It did work!

You’re right, the test is failing, but the email is sent.

Thx William :slightly_smiling_face:


You are very welcome !
Do not hesitate if you seek help, we cracked a lot of things around automations already :heart_eyes:

Télécharger Outlook pour Android


  • Participating Frequently
  • 6 replies
  • September 21, 2020
Gabi_Messina wrote:

HI All,

Jeremy’s solution is currently working for me though it is a bit clunky.

I have my linked field.
I have another field looking up the record ID
I have a third column that is a formula of the record ID field.

I am now powering my automations using the formula field

FORMULA


@Jeremy_Oglesby and @Gabi_Messina is this solution still working for you? I have replicated it exactly but I’m getting an error on runs: “The record does not exist.”


Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • 7 replies
  • September 21, 2020

Thankfully this is still working for me but I am pretty sure I ran into issues building a new automation using this method.

In my case I was able to find another workaround that worked well. Automations can pull a record ID if it is text in a single line field. In my case I was able to have the record ID pasted into a field as part of the automation and later pulled that field to use for another update action.

Hope that makes sense/ potentially helps.

Gabi


  • Participating Frequently
  • 6 replies
  • September 21, 2020
Gabi_Messina wrote:

Thankfully this is still working for me but I am pretty sure I ran into issues building a new automation using this method.

In my case I was able to find another workaround that worked well. Automations can pull a record ID if it is text in a single line field. In my case I was able to have the record ID pasted into a field as part of the automation and later pulled that field to use for another update action.

Hope that makes sense/ potentially helps.

Gabi


Ah, that’s brilliant! I just tried it and it’s working for me. Thank you so much for this update.

As an aside, I’ve realized that part of my trouble is that I was trying to do this using a synced table, and I made the mistake of assuming that Record IDs in a synced table would be identical to Record IDs in the original table it is syncing with with. That’s not the case, which is why I was getting the “The record does not exist.” error.

When I adjusted it to lookup the record IDs for the synced table instead, the automation was able to find the proper records! But now I’m running into a different error: “Updating the record failed due to insufficient permissions.” Which I’m thinking means that automations can’t (yet?) edit fields in synced tables.

I went back to the original base and set everything up there, and works perfectly.


Forum|alt.badge.img+18
ArielleEvans wrote:

Ah, that’s brilliant! I just tried it and it’s working for me. Thank you so much for this update.

As an aside, I’ve realized that part of my trouble is that I was trying to do this using a synced table, and I made the mistake of assuming that Record IDs in a synced table would be identical to Record IDs in the original table it is syncing with with. That’s not the case, which is why I was getting the “The record does not exist.” error.

When I adjusted it to lookup the record IDs for the synced table instead, the automation was able to find the proper records! But now I’m running into a different error: “Updating the record failed due to insufficient permissions.” Which I’m thinking means that automations can’t (yet?) edit fields in synced tables.

I went back to the original base and set everything up there, and works perfectly.


@ArielleEvans

It’s not just Automations that can’t edit the fields in synced records, it’s anybody. A synced table is meant to be edited only from the originating side of the sync relationship. If you are trying to update the fields on the receiving end of a Synced table, the Automation won’t be able to do that.

However, you could use a Script action in your Automation, and in your script utilize Airtable’s standard API to find and update records in the originating base/table for the records you see synced into this base. If you update them in the originating base, when the sync is next updated, you’ll see those changes reflected in the receiving Synced table.


  • Participating Frequently
  • 6 replies
  • September 21, 2020
Jeremy_Oglesby wrote:

@ArielleEvans

It’s not just Automations that can’t edit the fields in synced records, it’s anybody. A synced table is meant to be edited only from the originating side of the sync relationship. If you are trying to update the fields on the receiving end of a Synced table, the Automation won’t be able to do that.

However, you could use a Script action in your Automation, and in your script utilize Airtable’s standard API to find and update records in the originating base/table for the records you see synced into this base. If you update them in the originating base, when the sync is next updated, you’ll see those changes reflected in the receiving Synced table.


Thank you for this note @Jeremy_Oglesby! Really good to know this.


Forum|alt.badge.img+5
  • Participating Frequently
  • 11 replies
  • September 23, 2020

Hi all, I am having a related but different issue with Airtable Automations, and would welcome any thoughts on whether user error or bug! Hopefully I am sufficiently on topic here and not too verbose…

I am using the “create record” automation to create a new record in a “timesheet” table, based on moving the status of a job in a “jobs” table. I also write the Record_ID of the new timesheet record in a field of the “jobs” table (single line text). So far so good!

The trouble starts when I want to then use an automation to “update record” (the one I just created).

The “action” of the “update record” automation connects to the timesheets table. It pulls through the Record_ID of the relevant timesheet record, the one that I have saved in the “jobs” table from the first automation (see above). The problem is that the Record_ID field appears to the automation to be blank even though I can see it in the table.

If I manually type the Record_ID text in the automation this works.

So it seems to be that the first automation creates a field Record_ID entry that is visible to the eye but not the automation.

I tried passing the Record_ID via a second formula field, and it didn’t work. I tried ignoring the test result and just running and it didn’t work.

Any thoughts / advice appreciated!

==========

If it helps the usecase is that I want to create a timesheet entry when dragging a “job” into a kanban category “timer”, and record the time at which this is done. Then when the job is dragged out of the “timer” category, the same timesheet record is updated with the end time. One minus the other = duration. As I am on the free version at the moment Apps are not available.


  • Participating Frequently
  • 6 replies
  • September 23, 2020
Anthony11 wrote:

Hi all, I am having a related but different issue with Airtable Automations, and would welcome any thoughts on whether user error or bug! Hopefully I am sufficiently on topic here and not too verbose…

I am using the “create record” automation to create a new record in a “timesheet” table, based on moving the status of a job in a “jobs” table. I also write the Record_ID of the new timesheet record in a field of the “jobs” table (single line text). So far so good!

The trouble starts when I want to then use an automation to “update record” (the one I just created).

The “action” of the “update record” automation connects to the timesheets table. It pulls through the Record_ID of the relevant timesheet record, the one that I have saved in the “jobs” table from the first automation (see above). The problem is that the Record_ID field appears to the automation to be blank even though I can see it in the table.

If I manually type the Record_ID text in the automation this works.

So it seems to be that the first automation creates a field Record_ID entry that is visible to the eye but not the automation.

I tried passing the Record_ID via a second formula field, and it didn’t work. I tried ignoring the test result and just running and it didn’t work.

Any thoughts / advice appreciated!

==========

If it helps the usecase is that I want to create a timesheet entry when dragging a “job” into a kanban category “timer”, and record the time at which this is done. Then when the job is dragged out of the “timer” category, the same timesheet record is updated with the end time. One minus the other = duration. As I am on the free version at the moment Apps are not available.


Hey @Anthony, I’m not nearly as experienced with Automations as others on this thread who might see a clear error, but I did have one idea. I’ve had a couple of automations on brand new records fire too quickly, before the data in my fields has been set. Could it be that the automation is triggering before your “Timesheet record ID passthru” has been filled in?


Forum|alt.badge.img+5
  • Participating Frequently
  • 11 replies
  • September 24, 2020
ArielleEvans wrote:

Hey @Anthony, I’m not nearly as experienced with Automations as others on this thread who might see a clear error, but I did have one idea. I’ve had a couple of automations on brand new records fire too quickly, before the data in my fields has been set. Could it be that the automation is triggering before your “Timesheet record ID passthru” has been filled in?


Thanks for the suggestion @ArielleEvans, it is a good idea, but the data is already visible in the tables when the automation is triggered.

Interestingly when I tried to run this automation again this morning, the Record ID is now showing in the Test (ie where I drew a question mark in the snip above there is now the correct Record ID) but it is still not connecting up to the record of that ID in the table - despite the records matching when I check by hand.

My conclusion is that there are bug fixes being rolled out in the background but they are not quite there yet… although I don’t want to rule out the possibility of my own error just yet eirther!


Justin_Barrett
Forum|alt.badge.img+20
Anthony11 wrote:

Thanks for the suggestion @ArielleEvans, it is a good idea, but the data is already visible in the tables when the automation is triggered.

Interestingly when I tried to run this automation again this morning, the Record ID is now showing in the Test (ie where I drew a question mark in the snip above there is now the correct Record ID) but it is still not connecting up to the record of that ID in the table - despite the records matching when I check by hand.

My conclusion is that there are bug fixes being rolled out in the background but they are not quite there yet… although I don’t want to rule out the possibility of my own error just yet eirther!


Technically there’s no such thing as a “‘create record’ automation”. An automation is a combination of a trigger and one or more actions. In that light, you either have a “when record created” trigger starting the automation, or you’re using a “Create record” action in response to some other trigger. Which is it?

Would you be able to share screenshots of the trigger and action(s) in your automation? My gut feeling right now is that this is due to user error, but without knowing exactly how your automation is set up, it’s impossible to know the cause of the problem.


Forum|alt.badge.img+5
  • Participating Frequently
  • 11 replies
  • September 24, 2020
Justin_Barrett wrote:

Technically there’s no such thing as a “‘create record’ automation”. An automation is a combination of a trigger and one or more actions. In that light, you either have a “when record created” trigger starting the automation, or you’re using a “Create record” action in response to some other trigger. Which is it?

Would you be able to share screenshots of the trigger and action(s) in your automation? My gut feeling right now is that this is due to user error, but without knowing exactly how your automation is set up, it’s impossible to know the cause of the problem.


Thanks @Justin_Barrett, you are right it is a little convoluted!

The automation structure is can most briefly be desribed like this:

Automation 1: (WORKS FINE)
Trigger - when “status” is “timer” (for a “job” record in jobs table)
Action i - create record in timesheet table; populate field “time start” with the “change of status time” field from jobs table.
Action ii - update job field “timesheet record id” to write Record_ID of created timesheet record [this is to get around linked fields not working for Automation 2]

Automation 2: (“RECEIVED INVALID INPUTS” ERROR)
Trigger - when “status” is not “timer” (for a “job” record in jobs table)
Action i - update record in timesheet table, using the recently created “timesheet record id” in the jobs table to identify the right record; populate field “time end” with the “change of status time” field from jobs table.

Interestingly Automation 2 does work when I copy and paste the timesheet Record_ID from the jobs table into the automation (ie I manually do what I want the automation to do, see picture below). Therefore doesn’t seem to be a format mismatch on the field population at Automation 2 Action i step.

Here is the relevant picture:

All suggestions appreciated!


Justin_Barrett
Forum|alt.badge.img+20
Anthony11 wrote:

Thanks @Justin_Barrett, you are right it is a little convoluted!

The automation structure is can most briefly be desribed like this:

Automation 1: (WORKS FINE)
Trigger - when “status” is “timer” (for a “job” record in jobs table)
Action i - create record in timesheet table; populate field “time start” with the “change of status time” field from jobs table.
Action ii - update job field “timesheet record id” to write Record_ID of created timesheet record [this is to get around linked fields not working for Automation 2]

Automation 2: (“RECEIVED INVALID INPUTS” ERROR)
Trigger - when “status” is not “timer” (for a “job” record in jobs table)
Action i - update record in timesheet table, using the recently created “timesheet record id” in the jobs table to identify the right record; populate field “time end” with the “change of status time” field from jobs table.

Interestingly Automation 2 does work when I copy and paste the timesheet Record_ID from the jobs table into the automation (ie I manually do what I want the automation to do, see picture below). Therefore doesn’t seem to be a format mismatch on the field population at Automation 2 Action i step.

Here is the relevant picture:

All suggestions appreciated!


Thanks for the update. Have you made both automations live, or are these errors only occurring when testing them individually?


Forum|alt.badge.img+5
  • Participating Frequently
  • 11 replies
  • September 24, 2020
Justin_Barrett wrote:

Thanks for the update. Have you made both automations live, or are these errors only occurring when testing them individually?


Hi Justin, both are live. The error occurs when testing and when running live (ie automation 2 action fails the test and doesn’t work in practice)


Justin_Barrett
Forum|alt.badge.img+20
Anthony11 wrote:

Hi Justin, both are live. The error occurs when testing and when running live (ie automation 2 action fails the test and doesn’t work in practice)


How quickly are you testing #2 after #1? Say you choose the “Timer” option in that single-select, which triggers the first automation. You wait a bit, then clear the field, which triggers the second one. How much of a time gap is in-between those two actions? I’m asking because there’s a delay of several seconds before Airtable actually begins running any automation after its trigger event has occurred. It’s possible that you’re triggering #2 too quickly, before #1 has had a chance to run and put that record ID into the relevant field.


Reply