@StanMeister You need to change items[0].json.fields.numeroRPPS = 1
to items[0].json.numeroRPPS = 1
Also, you might want to replace the function node with a set node. Check the example below:
{
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"operation": "list",
"application": "appl8VT0U5WSVMlQN",
"table": "pharmaciens",
"additionalOptions": {}
},
"name": "Airtable",
"type": "n8n-nodes-base.airtable",
"typeVersion": 1,
"position": [
540,
330
],
"credentials": {
"airtableApi": "Airtable Credentials"
}
},
{
"parameters": {
"operation": "update",
"application": "={{$node[\"Airtable\"].parameter[\"application\"]}}",
"table": "={{$node[\"Airtable\"].parameter[\"table\"]}}",
"id": "={{$node[\"Function\"].json[\"id\"]}}",
"updateAllFields": false,
"fields": [
"numeroRPPS"
],
"options": {}
},
"name": "Airtable2",
"type": "n8n-nodes-base.airtable",
"typeVersion": 1,
"position": [
1120,
150
],
"credentials": {
"airtableApi": "Airtable Credentials"
}
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$node[\"Airtable\"].json[\"fields\"][\"nom\"]}}",
"value2": "LE CORRE-HEURTIN"
}
]
}
},
"name": "IF",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
740,
330
]
},
{
"parameters": {},
"name": "NoOp",
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [
930,
430
]
},
{
"parameters": {
"values": {
"string": [],
"number": [
{
"name": "numeroRPPS",
"value": 1
}
]
},
"options": {}
},
"name": "Set",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
920,
220
]
}
],
"connections": {
"Airtable": {
"main": [
[
{
"node": "IF",
"type": "main",
"index": 0
}
]
]
},
"IF": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
],
[
{
"node": "NoOp",
"type": "main",
"index": 0
}
]
]
},
"Set": {
"main": [
[
{
"node": "Airtable2",
"type": "main",
"index": 0
}
]
]
}
}
}