anchor.diff:  ```
   {: codeblock-file="pipeline.yml"}
   
  +Webhook notifications happen at the following [events](/docs/apis/webhooks#events), unless you restrict it to certain [conditions](/docs/pipelines/notifications#conditional-notifications):
  +
  +* `build created`
  +* `build started`
  +* `build blocked`
  +* `build finished`
  +
   ## Build States
   
   Build state can be one of `scheduled`, `running`, `passed`, `failed`, `blocked`, `canceling`, `canceled`, `skipped`, `not_run`, and `finished`.
  
positive.code: ```
  {: codeblock-file="pipeline.yml"}
  
  In the example above, the notification will be sent to the 'sre' and 'announcements' channels in the 'buildkite-community' workspace, the 'monitoring' channel in the 'buildkite-team' workspace, as well as to the 'general' channel of all configured workspaces.
  
  You can add a custom message to the notification:
  
  ```yaml
  notify:
  
negative.code: ```
  {: codeblock-file="pipeline.yml"}
  
  You can also add [conditionals](/docs/pipelines/notifications#conditional-notifications) to restrict the events on which notifications are sent:
  
  ```yaml
  notify:
  