Can I Cancel the Trigger After Content Update When Uploading via CSV?
Triggers such as "After updating content" and "After adding content" also work for updates/additions made via CSV upload.
Therefore, if you have written a process to send a webhook to another endpoint after updating content, updating multiple contents at once via CSV upload will result in a large number of webhooks being sent.
To only enable webhook sending when updating via the edit screen and cancel the trigger process when updating via CSV upload, assign a global variable with a trigger such as "Before upload content", and write your code to cancel the webhook sending based on that variable's value.
Example Settings
Before upload content
{assign_globals key='cancel_flag' value="1"}
After updating content
{assign_globals var='cancel_flag' key='cancel_flag'}
{if $cancel_flag != "1"}
<!--Your process-->
{/if}
Related Documents
Support
If you have any other questions, please contact us or check out Our Slack Community.