I created a simple Flow using the Salesforce "When an object is modified" trigger. The Flow also had two additional steps that used the Salesforce "Get object" action. I executed this sample Flow about 5 - 6 times, by changing the related object in Salesforce. On the last time the Trigger errored with this message: "Salesforce failed to complete task: Message: TotalRequests Limit exceeded".
I'm using a developer account for Salesforce that allows up to 15,000 API requests per day. According to my profile data in Salesforce I have used 14,962 API request in the last 24 hours, although this sample Flow is the only thing I have done in Salesforce in the last few days.
It seems to me that one of two things may be happening with Flow:
- To support the Salesforce trigger, Flow is constantly executing Salesforce API calls in order to poll Salesforce for modifications to the object. If this is the case, then Flow needs to allow us to configure the polling interval so we can throttle the frequency to stay within the Salesforce API limits.
- There may be a bug where Flow is executing Salesforce API calls in a loop consuming a huge number of API calls per action.
Curious if the Salesforce triggers are event based, where Salesforce notifies Flow of the change or done via a polling of Salesforce by Flow?