# How does the Airtable \> Update work?

**URL:** <https://community.n8n.io/t/how-does-the-airtable-update-work/10889>\
**Category:** Questions\
**Tags:** node\
**Created:** [January 25, 2022, 11:32am UTC](https://community.n8n.io/t/how-does-the-airtable-update-work/10889 "2022-01-25T11:32:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wohfab](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/wohfab/32/9991_2.png) [@wohfab](https://community.n8n.io/u/wohfab)\
**Post date:** [January 25, 2022, 11:32am UTC](https://community.n8n.io/t/how-does-the-airtable-update-work/10889/1 "2022-01-25T11:32:48Z")

</div>

I have a table which includes two columns. `key` & `value`. One of the records has `key = date-updated`. I use the Airtable node to get this record. Out comes the following:

```json
[{
"id": "recordId",
"fields": {
  "key": "date-updated",
  "value": "2022-01-22 09:55"
},
"createdTime": "2022-01-25T08:52:39.000Z"
}]

```

Now, I use a Date/Time node to get the current date and time in the same format as the `fields.value`. From the node, I write it directly to the same position, so the Date/Time node returns:

```json
[{
"id": "recordId",
"fields": {
  "key": "date-updated",
  "value": "2022-01-25 12:26"
},
"createdTime": "2022-01-25T08:52:39.000Z"
}]

```

Directly after, I use the Airtable node again and use the `Update` operation. As the `record ID`, I use the ID from the previous request.

**Now comes my question** : Where do I tell the node, what data should be put into the field? I can specify the field to update, where I put `Fields: value`, because this is the only field that needs my manual update. But where do I tell the node, what to put in that field/cell?

When executed, the node returns the old data again (see first json response above) instead of the newly set.

I tested a lot with the update operation and I cannot for the love of me find out, how it is working.

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [January 25, 2022, 12:19pm UTC](https://community.n8n.io/t/how-does-the-airtable-update-work/10889/2 "2022-01-25T12:19:44Z")

</div>

Hi @wohfab, the Airtable node would update fields in Airtable using incoming fields matched by their name/key.

So if you wanted to update a `date-updated` field of with a value of `2022-01-25 12:26`, you would need to create an n8n item having a structure of:

```json
{
  "id": "foo",
  "date-updated": "2022-01-25 12:26"
}

```

This would typically be a job for the [Set](https://docs.n8n.io/nodes/n8n-nodes-base.set/) node:

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/c/ca68daf151dca47b530890b908a1d04469deab17.png)

Here is a quick example workflow demonstrating this (don’t run it against your production data, it just updates all rows with the current time in the `date-updated` field):

> **Example Workflow**
>

---

<div class="post-metadata">

**Author:** ![wohfab](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/wohfab/32/9991_2.png) [@wohfab](https://community.n8n.io/u/wohfab)\
**Post date:** [January 25, 2022, 3:15pm UTC](https://community.n8n.io/t/how-does-the-airtable-update-work/10889/3 "2022-01-25T15:15:15Z")

</div>

Oh, perfect, @MutedJam! Worked 🙂

---

<div class="post-metadata">

**Author:** ![fischera](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/fischera/32/20849_2.png) [@fischera](https://community.n8n.io/u/fischera)\
**Post date:** [July 25, 2022, 9:56pm UTC](https://community.n8n.io/t/how-does-the-airtable-update-work/10889/4 "2022-07-25T21:56:35Z")

</div>

Hey @MutedJam - I have exactly the same use case and struggling to find a solution despite having followed your advice.  
I want to update my Airtable base once the e-mail is found:  
Here is the configuration:

But I’m facing some incoherence with the ID: Here is an example :

 ![Capture d’écran 2022-07-25 à 17.55.50](https://europe1.discourse-cdn.com/n8n/original/2X/9/9a343c6925332fc6ccc54cbcc640a892e9f25a78.jpeg)

Any idea ?  
10000 thanks !

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [July 26, 2022, 9:00am UTC](https://community.n8n.io/t/how-does-the-airtable-update-work/10889/5 "2022-07-26T09:00:06Z")

</div>

Hi @fischera, I am sorry to hear you’re having trouble but I am not sure I fully understand your question.

Your post suggests n8n might have updated the wrong dataset which looks different from the problem originally reported in this thread. Perhaps you can open a new topic and provide all details required to reproduce your problem, ideally in a simplified manner (a small Airtable with a handful of rows and a workflow that should update one of these rows but actually updates another)?

---

<div class="post-metadata">

**Author:** ![fischera](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/fischera/32/20849_2.png) [@fischera](https://community.n8n.io/u/fischera)\
**Post date:** [July 26, 2022, 12:39pm UTC](https://community.n8n.io/t/how-does-the-airtable-update-work/10889/6 "2022-07-26T12:39:04Z")

</div>

thanks @MutedJam - will do
