- Sam’s Customer requests workflow has one job, Reply by email. It should only answer email messages.
- Open the job and choose Advanced. Its Trigger is the event it listens for, a customer message.
- Filters are rules checked against the input. Pick the channel field, keep Equals, and type email.
- Add a filter or nested group and pick AND or OR. AND needs every filter, OR needs one.
- Sam needs only the channel filter, so remove the group and save the job.
- The Customer message step shows the trigger filters and the input, Maya’s email about her lamp shade.
- Run workflow. Maya’s email passes, so the job runs and shows Succeeded.
- Now pick a chat message with Change event. Show all lists events that do not match the filters.
- Run it again. The chat message fails the filter, and the job shows Filters not met.
- Filters let the job run only for the events it should, without wasting runs on the wrong messages.