I have three entries from Airtable that I need to handle using a for loop in Python. My goal is to check if the value in the ‘check’ field is ‘Update2’. If it is, I will perform one action; otherwise, I will do something different.
Here are the records I’m working with:
{
'createdTime': '2022-11-09T15:57:28.000Z',
'fields': {
'Last Modified': '2022-11-10T00:22:31.000Z',
'Name': 'Daniel',
'Status': 'Todo',
'check': 'update2'
},
'id': 'recbvBuBBrgWO98pZ'
}
{
'createdTime': '2022-11-09T16:58:15.000Z',
'fields': {
'Last Modified': '2022-11-10T00:22:32.000Z',
'Name': 'Claudia',
'Status': 'In progress',
'check': 'update2'
},
'id': 'reck3BB7lOVKG0cPI'
}
{
'createdTime': '2022-11-09T15:57:28.000Z',
'fields': {
'Last Modified': '2022-11-10T00:22:32.000Z',
'Name': 'Isabella',
'Status': 'Done',
'check': 'update2'
},
'id': 'recveGd8w9ukxLkk9'
}
I’m looking for guidance on how to implement this loop correctly.