Using the Shifter Outgoing Webhook Generator with Netlify

About Shifter Webhooks

Shifter Webhooks can send HTTP requests to other hosts or services based on lifecycle events. For more information, see this documentation (insert link to documentation here).

Step I: GitHub Fork the Repository

Fork the GitHub repository to your GitHub account. If necessary, create a branch for publishing (e.g., Publish or Deployment).

Step II: Connect Your Netlify GitHub Account by Registering the Webhook URL

  1. Click the [New site from Git] button.

  2. Click [GitHub] to log in.


  3. After authenticating with Netlify, select the repository you want to publish via webhook.

  4. Click the [Deploy site] button.

  5. Click the [Settings] menu.

  6. Click [Build & Deploy]. Scroll down to Build hooks, enter a [Build hook name], select [Branch to build], and click [Save].

  7. Copy the generated Build hooks URL.

Step III: Configure and test the webhook for publishing to Shifter

  1. Log in to the Shifter dashboard ( https://go.getshifter.io/).

  2. Navigate to the site you want to publish.

  3. Click [Webhooks] under [Dev] in the site menu.

  4. Select or enter the following items:

    • Event Type: Webhook:ArtifactCreated
    • Method: POST
    • URL: Paste the Build hooks URL generated by Netlify that you copied earlier
    • Headers Key (Optional)
    • Headers Value (Optional)
  5. Click [Submit].

    [IMAGE_PLACE_HOLDER_11]

Webhook Body:

The following items will be sent to Netlify.

  • site_id: Your site ID
  • artifact_id: Artifact ID
  • download_url: Base64-encoded URL
  • signature

Make sure the Webhook status is set to Enabled.

Next, build the artifact, then scroll down this page to check the publication status. If the Netlify webhook was published successfully, 200 (OK) should be displayed.

Need another integration?

You can use webhooks to send events to various destinations, such as GitLab and WordPress. You can also integrate Netlify with Slack to receive status notifications. Check out Netlify’s blog posts and support documentation on webhooks.