---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Set up a bi-directional webhook for the Aha! spoke

# Set up a bi-directional webhook for the Aha! spoke {#ariaid-title1}

Release version: Brazil  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
Configure a webhook to subscribe to events in the Aha! account with a
ServiceNow callback URL.

## Before you begin

Role required: admin

## Create a Token {#ariaid-title2}

Create a token that will be embedded in the callback URL to Aha!.

### Before you begin

Role required: admin

### Procedure

1. In the navigation filter, enter <kbd class="ph userinput">token_verification.list</kbd>.  
   The system displays records in the Token Verifications table.
2. Select New.
3. On the form, fill the fields.  
   {#create-a-token-for-aha-spoke__table_uzr_l41_1jb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Option to provide a unique name to identify the token. For example, <kbd class="ph userinput">Aha! Callback URL token</kbd>. |
   | Description | Option to provide a description of the token. |
   | Token | Option to provide a unique authentication token. This token is encrypted and embedded in the URL. |
   [Table 1. Token Verification form]

   {#create-a-token-for-aha-spoke__table_uzr_l41_1jb}
4. Select Submit.
{#create-a-token-for-aha-spoke__steps_g2z_12y_52c}

## Create an Aha! Webhook in ServiceNow {#ariaid-title3}

Register an Aha! webhook in to notify the app when certain events occur in Aha!.

### Before you begin

Role required: admin

### Procedure

1. Navigate to AllAha! SpokeWebhookWebhook Registries.
2. Select New.
3. Fill the form.  
   {#create-an-aha-webhook-in-servicenow__table_rcq_kgy_52c__entry__2}

   | Field | Description |
   |-|-|
   | Name | Option to uniquely identify the record. |
   | Path | Option to provide the webhook path. Enter <kbd class="ph userinput">api/sn_aha_spoke/aha_webhook</kbd>. |
   | Token | Option to specify the token you had created. See [Create a Token](https://www.servicenow.com/docs/_HUBvHNvGV5_FW51~bsIhg#create-a-token-for-aha-spoke "Create a token that will be embedded in the callback URL to Aha!."). |
   [Table 2. Aha! Webhook Registry]

   {#create-an-aha-webhook-in-servicenow__table_rcq_kgy_52c}
4. Right-click the form header and click Save.
5. Select Callback URL.  
   The system displays the webhook callback URL.
6. Copy and record the webhook callback URL.
{#create-an-aha-webhook-in-servicenow__steps_crj_hfy_52c}

## Add callback URL to Aha! {#ariaid-title4}

Register the webhook callback URL to the Aha! account.

### Before you begin

Role required: admin

### Procedure

1. Log in to your Aha! account as an admin.
2. Navigate to SettingsAccount.
3. Create an activity webhook by clicking + beside Integrations.
4. Click + Activity webhook in the Activity webhook tile.
5. On the form, fill these values.  
   {#add-callback-url-to-aha__table_pwg_ffn_q5b__entry__2}

   | Field | Description |
   |-|-|
   | Hook URL | Webhook callback URL you had copied from the ServiceNow instance. |
   | Selected Activities | Activities or events for which you want to subscribe. |
   [ ]

   {#add-callback-url-to-aha__table_pwg_ffn_q5b}
6. Click Add activity.

## Set webhook routing policy {#ariaid-title5}

Create a webhook routing policy and subflow as per your requirement.

### Before you begin

Role required: admin

### About this task

The default routing policy in the Aha Webhook Decision Policy module triggers the Process Aha webhooks subflow and notifies the ServiceNow app when certain events occur in Aha!. See [Aha! Spoke](https://www.servicenow.com/docs/NzukMKWZ1lo6PDk8XRYEfg "Manage Aha! accounts using your ServiceNow instance. Analyze data usage for Aha! and reclaim idle accounts.") for information about the fields that the default routing policy and subflows support. To use any other fields in your custom subflow and customize conditions in the routing policy, perform these steps.

### Procedure

1. Navigate to AllAha! SpokeWebhookWebhook Routing Policies.
2. Select New.
3. Fill the form.  
   {#set-webhook-routing-policy__table_awj_xgv_z3b__entry__2}

   | Field | Description |
   |-|-|
   | Label | Unique label to identify the routing policy. |
   | Default answer | Option to specify if this is the default answer. The default answer is applicable when the conditions are not met. |
   | Condition | Conditions to be met when the required events occur in Aha!. |
   | Answer | Subflow that must be triggered when the specified conditions are met. 1. Click the lookup icon (![Lookup icon]()). 2. Select the required subflow from the Document list. Note: Ensure that the Table name is <kbd class="ph userinput">Flow [sys_hub_flow]</kbd>. {#set-webhook-routing-policy__ol_sdf_ftb_1jb} |
   [Table 3. Decision form]

   {#set-webhook-routing-policy__table_awj_xgv_z3b}
4. Select Submit.

*[\>]: and then


