I have two flows set up to connect to one list in Sharepoint:-
- Send a customized email when a new SharePoint list item.
- Send a customized email when a SharePoint list item is updated.
Flows No.2 and Flow No.1 are identical apart from the trigger.
I had both flows working fine, but Flow No.1 has stopped working and I can't understand why. If I run test in "Automatically" and select one of last triggers it works fine.
When test in manual and I add a new item in my list, it does not trigger.
Trigger Codes below for your Reference, I think its an issue with the List but I am drawing blanks.
Any help would be very much appreciated.
Code in Flow No.1 is as below:-
{
"type": "OpenApiConnection",
"inputs": {
"parameters": {
"dataset": "https://~~~~~~~~~ouk.sharepoint.com",
"table": "~~~~~-80d8-403e-a5da-b3a04659efa0"
},
"host": {
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline",
"connection": "shared_sharepointonline",
"operationId": "GetOnChangedItems"
}
},
"recurrence": {
"frequency": "Minute",
"interval": 5
},
"splitOn": "@triggerOutputs()?['body/value']",
"metadata": {
"operationMetadataId": "~~~~~aa1-b11e-445f-a5d2-bb46e756929e"
}
}
Code in Flow No.2 is as below:-
{
"type": "OpenApiConnection",
"inputs": {
"parameters": {
"dataset": "https://~~~~~~~~~ouk.sharepoint.com",
"table": "~~~~~-80d8-403e-a5da-b3a04659efa0"
},
"host": {
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline",
"connection": "shared_sharepointonline",
"operationId": "GetOnNewItems"
}
},
"recurrence": {
"frequency": "Minute",
"interval": 5
},
"splitOn": "@triggerOutputs()?['body/value']",
"metadata": {
"operationMetadataId": "~~~~~aa1-b11e-445f-a5d2-bb46e756929e"
}
}