Prerequisites
Before continuing, you should have already completed the following for this connector:Configure the Connector
Connector Profile
Link an Account
Link Account
Retrieve the Native Webhook URL
StackOne generates a unique Native Webhook URL for this connection, which you paste into Terraform when creating the notification.
Create the webhook notification in Terraform
Register the Native Webhook URL as a webhook Notification Configuration on each workspace you want events from.
Open the workspace notification settings
In HCP Terraform, open the workspace, go to Settings > Notifications, and click Create a Notification.

Configure the webhook destination
Fill in the notification as a webhook pointing at StackOne.
- Destination: choose Webhook.
- Notification Name: enter a name (for example,
StackOne). - Webhook URL: paste the Native Webhook URL from this connection.
- Token (optional): a secret Terraform uses to sign each request with an HMAC. StackOne relies on the unguessable URL token instead, so you can leave this blank.

Select the triggers and create the notification
Under Run Events, choose All events, or choose Only certain events and pick the run triggers you want (Created, Planning, Needs attention, Applying, Completed, Errored). If the workspace has Health Assessments enabled, health-assessment triggers are also available. Click Create a notification. Terraform immediately sends a verification request to the URL, which StackOne answers automatically, so the notification becomes verified and enabled.

Available webhook events
The events below can be delivered to StackOne. Only the triggers you enable on the notification are sent.
Review run events
Fired as a Terraform run moves through its stages.
- Run Created (
run:created) — Fired when a run begins and enters the pending stage. - Run Planning (
run:planning) — Fired when a run acquires the lock and starts to execute. - Run Needs Attention (
run:needs_attention) — Fired when a plan has changes and requires user input. - Run Applying (
run:applying) — Fired when a run enters the apply stage. - Run Completed (
run:completed) — Fired when a run completes successfully. - Run Errored (
run:errored) — Fired when a run terminates early due to an error or cancellation.
Review health assessment events
Fired by workspace health assessments. These require Health Assessments to be enabled on the workspace.
- Assessment Check Failure (
assessment:check_failure) — Fired when one or more continuous validation checks fail. - Assessment Drift Detected (
assessment:drifted) — Fired when configuration drift is detected for the first time. - Assessment Failed (
assessment:failed) — Fired when a health assessment fails to run.
Delivery format
How Terraform delivers events to StackOne.
Inspect the notification payload
Terraform sends each event as an HTTP POST with a JSON body containing a notifications array. StackOne routes on the trigger of the first entry (for example run:completed), and the payload also carries the run and workspace details.