function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Question on Triggers

Just a quick question on triggers.


If we set up a trigger to go off if a certain action happens, lets say when we create a record or something, and it does any action, maybe send out an email or do some validation, update the db somewhere else, does it count towards our API call limit?


Or are triggers (all triggers) free of API calls? as in it doesnt matter how many times or what they do, triggers dont cause the API call limit to go up.




No, Apex Triggers and Classes run on the platform (our servers), so there's no impact to the API call limit. Keep in mind though, Apex Code has it's own governor limits.


Hope that helps,