Incoming webhooks - AWS Amplify

Incoming webhooks

Set up an incoming webhook in the Amplify Console to trigger a build without comitting code to your Git repository. You can use webhook triggers with headless CMS tools (such as Contentful or GraphCMS) to start a build whenever content changes, or to perform daily builds using services such as Zapier.

To create an incoming webhook

  1. Sign in to the AWS Management Console and open the Amplify Console.

  2. Choose the app that you want to create a webhook for.

  3. In the navigation pane, choose Build settings.

  4. On the Build settings page, scroll down to the Incoming webhooks section and choose Create webhook.

    
               Screenshot of the Incoming webhooks section in the Amplify console.
  5. In the Create webhook dialog box, do the following:

    1. For Webhook name enter a name for the webhook.

    2. For Branch to build, select the branch to build on incoming webhook requests.

    3. Choose Save.

      
                     Screenshot of the Create webhook window in the Amplify
                        console.
  6. In the Incoming webhooks section, do one of the following:

    • Copy the webhook URL and provide it to a headless CMS tool or other service to trigger builds.

    • Run the curl command in a terminal window to trigger a new build.

      
                     Screenshot of the Incoming webhooks section in the Amplify
                        console.