Set up triggers for the Jamf spoke
Set up triggers for the Jamf spoke for the required events. The endpoint enables webhooks to connect with your ServiceNow instance.
Before you begin
Role required: admin
Configure triggers in ServiceNow instance
Configure endpoint for webhooks in the Jamf that support the token authentication.
Before you begin
Role required: flow_designer and connection_admin
Procedure
Navigate to All > Process Automation > Workflow Studio.
Click the Integrations tab.
Toggle and enable the Inbound connections.
Locate the Jamf Spoke endpoint and click View Details.
For the Jamf External Trigger end point, click Configure.
Image omitted: jamf-ext-trigger.jpg
6. Select the user who can trigger the endpoint and click **Activate**.
6. Select the user who can trigger the endpoint and click **Activate**.
Image omitted: jamf-conf-trigger-user.jpg
The values **Token** and **URL** are generated.
The values **Token** and **URL** are generated.
- Copy the generated endpoint URL for later use.
Image omitted: jamf-conf-trigger4.jpg
## Create an outbound webhook
## Create an outbound webhook
Create an outbound webhook in your Jamf Pro cloud instance.
Before you begin
Role required: admin
Procedure
Log in to the Jamf cloud account as an admin.
Click Settings.
Click the Global tab and click the Webhooks tile.
Click + New.
On the form, fill these values.
| Field | Description |
|---|---|
| Display Name | A display name to identify the webhook. |
| Webhook URL | URL the webhook should post to. Paste the URL that was generated when you configured triggers in ServiceNow instance. For more information, see Configure triggers in ServiceNow instance. |
| Authentication Type | Type of authentication required to connect to the webhook. Choose the Header Authentication option.When you select Header Authentication, another Header Authentication field is displayed. Provide the header metadata in JSON format that is used for authentication. For example, enter {"Authorization":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdX", "Date":"Fri, 22 Nov 2024 16:56:32 GMT"}. |
| Connection timeout | Connection timeout for the webhook. |
| Read Timeout | Read timeout for the webhook. |
| Content Type | Format for sending the webhook information. Select JSON. |
| Webhook Event | Event that will trigger the webhook. Select one of the supported events. For the list of supported events, see the Spoke triggers section. |
For more information about configuring the webhook, see [Configuring a Webhook](https://learn.jamf.com/r/en-US/jamf-pro-documentation-11.15.0/Webhooks) in [Jamf Learning Hub](https://learn.jamf.com/home).
- Click Save.