Do you have groups without members? Maybe you have forgetful group supervisors. Would you like to give them a gentle daily or weekly nudge to add members? This is the integration for you!

An event is manually generated in the xMatters user interface with a list of group names to check. This event should be scheduled based on the periodicity the check should be performed. Once the event is created, the event status trigger kicks off and passes the group list to a step. This step iterates through the list and for each group calls the HTTP trigger to continue the process. The HTTP trigger receives the group name and then makes a series of queries to determine if the shift schedule contains gaps. If so, the group's supervisors are identified and an event is triggered letting them know they need to get coverage for their group.
- An xMatters account.
- Developer access.
- IncompleteGroups.zip - The workflow (that has all the steps and such).
- Import the IncompleteGroups.zip workflow.
- Navigate to Flows > Start event canvas.
- Double click the Check Group HTTP trigger and copy the url:

- Paste the url into a text editor and extract the "path" portion of the url by removing the entire first part of the url up to the .com. It should be something like
/api/integration/1/functions/UUID/triggers?apiKey=API_KEY
. - Open the Constants and paste this path value into the Value of the
HTTP Trigger Path
constant:

- Save the canvas.
- Click Messaging from the left navigator menu and click Start event. Enter the comma separated list of groups to check. Remember not to include a space after the comma.

- If you want to only fire this once for testing, click Send Message. If you're satisfied, click the Schedule Message button and enter the time and day the message should fire. (Ignore the "No Recipients Selected" warning. The group supervisors will be determined at runtime.)

To send a quick one time test, click Messaging from the left navigator menu and click Start event. Enter the comma separated list of groups to check. Remember not to include a space after the comma.

Then click Send Message. This will just fire the event once and then stop.
Investigate the activity stream in the canvas for any errors.