One strategy for this would be to check for an organization ID in the users app metadata before running the rest of the action. If the parameters exists you can skip the action.
Like this:
if (event.user.app_metadata.org_id) {
return;
}
One strategy for this would be to check for an organization ID in the users app metadata before running the rest of the action. If the parameters exists you can skip the action.
Like this:
if (event.user.app_metadata.org_id) {
return;
}