Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 05, 2025 07:26 AM
I am currently developing an integration with airtable base.
It is very nice to have webhook notification from airtable api.
1. How to respond properly to the notification?
Once the record changes, the notification works via webhook.
But it repeated more than once and I want to know how to stop it after receiving the first notification.
2. How to clear payloads that already received?
When the record changes with the attatchment field, there are two or more payloads for it. Here is a response data of payloads.
{
"payloads": [
{
"timestamp": "2025-02-05T15:24:39.621Z",
"baseTransactionNumber": 300,
"actionMetadata": {
"source": "client",
"sourceMetadata": {
"user": {
"id": "usre3JyKUosldgaGX",
"email": "antman357357@gmail.com",
"permissionLevel": "create",
"name": "Ant Man",
"profilePicUrl": "https://static.airtable.com/images/userIcons/user_icon_8.png"
}
}
},
"payloadFormat": "v0",
"changedTablesById": {
"tblwMVvp1SgnOFZk1": {
"changedRecordsById": {
"recxXhNCq9lGKFURL": {
"current": {
"cellValuesByFieldId": {
"fldKSiRQSWOoriPmL": [
{
"id": "attrkP7hWibvOPme8",
"url": "https://v5.airtableusercontent.com/v3/u/37/37/1738778400000/GzePLQeUjXcxXT8-i4jDdw/qSjrDcOmF6KpmvZo_ItpSgjIifT0zDLZTfUOi_G4LK5zrhhx_ukpm3GetKIBtQMph3QlyMFx-j_LgZrvq_UfqLcSxMItiKJw8wmGSzzKQGxAl7H-u-VRZxZFNMO5-sWMXSB5l-ZzBGXCPF1tABKqrGHiADczt2N1VZ2p4auoNFJNKw1uHOlPt1S3JPkcMnyl/2R3CV7vXCQvPCWhLDV6JnFnX-2gINl-16sJk3SHgj8w",
"filename": "DataTables example - PDF - image.pdf",
"size": 45594,
"type": "application/pdf"
}
]
}
}
}
}
}
}
},
{
"timestamp": "2025-02-05T15:24:40.753Z",
"baseTransactionNumber": 301,
"actionMetadata": {
"source": "client",
"sourceMetadata": {
"user": {
"id": "usre3JyKUosldgaGX",
"email": "antman357357@gmail.com",
"permissionLevel": "create",
"name": "Ant Man",
"profilePicUrl": "https://static.airtable.com/images/userIcons/user_icon_8.png"
}
}
},
"payloadFormat": "v0",
"changedTablesById": {
"tblwMVvp1SgnOFZk1": {
"changedRecordsById": {
"recxXhNCq9lGKFURL": {
"current": {
"cellValuesByFieldId": {
"fldKSiRQSWOoriPmL": [
{
"id": "attrkP7hWibvOPme8",
"url": "https://v5.airtableusercontent.com/v3/u/37/37/1738778400000/GzePLQeUjXcxXT8-i4jDdw/qSjrDcOmF6KpmvZo_ItpSgjIifT0zDLZTfUOi_G4LK5zrhhx_ukpm3GetKIBtQMph3QlyMFx-j_LgZrvq_UfqLcSxMItiKJw8wmGSzzKQGxAl7H-u-VRZxZFNMO5-sWMXSB5l-ZzBGXCPF1tABKqrGHiADczt2N1VZ2p4auoNFJNKw1uHOlPt1S3JPkcMnyl/2R3CV7vXCQvPCWhLDV6JnFnX-2gINl-16sJk3SHgj8w",
"filename": "DataTables example - PDF - image.pdf",
"size": 45594,
"type": "application/pdf",
"thumbnails": {
"small": {
"url": "https://v5.airtableusercontent.com/v3/u/37/37/1738778400000/JRg2nAy_FV0ZzskugpNAKA/xRYRcM3lJmhTbl4ZsqKneWLNOGKbSyeGuXRBZuf0ljyUUOV-uMwzWbyE4EJRqjvxkViLW-Z7iIHzPUHzoVfXnoKx3e9BjTZIdntW72s_5rvyGJFjWgc7MKtItbrQjw3agc_Mczyr7SgPuPQbcXa2SQ/2X9D_nTqFdsPaUoCPNqrLS1U_en10T6baQTq8lZxTCo",
"width": 28,
"height": 36
},
"large": {
"url": "https://v5.airtableusercontent.com/v3/u/37/37/1738778400000/2YRmvmNFpn7LCWh1WQydoA/ZnZJSa2LDJfBtUMN6lVOA7nHBrK-tohuqs_B3GLhgkImfkjZvjmxFFHh5UE6uiA1EpU0BsCmC8PWLCoG_z2iCesIEjPNA7y0v6JmmdTcp668QNPT3OZ7_bWfqeIr4WFUodrLNeL3iCykLGxSFGNq_g/jDEez0vy9wpXqEUDbOvaxQX7gerPVjcKhV_UseRH1D8",
"width": 512,
"height": 663
}
}
}
]
}
}
}
}
}
}
}
],
"cursor": 3,
"mightHaveMore": false,
"payloadFormat": "v0"
}
And the old payloads kept with new changes. Is there any way to clear old payloads?
0 Replies 0
![](/skins/images/FE00829FDD2AE889FAB731D8F02A8942/responsive_peak/images/icon_anonymous_message.png)