Start Vercel builds for published DatoCMS articles

Confirm an article publication in DatoCMS, then start a Vercel deployment from the configured Git branch.

11 stepsProduct and engineering

Free to start, no card required.

How it works

  1. When this happens

    Receive the DatoCMS publication

    Webhook

  2. Step 1 · Code

    Read the published article ID

  3. Step 2

    Check the published record reference

    Follows the first path that matches

    • Publication received

      1. Step 3 · Dato CMS

        Read the current DatoCMS record

      2. Step 4 · Code

        Verify the published article version

      3. Step 5

        Check the published model and date

        Follows the first path that matches

        • Published article

          1. Step 6 · Storage

            Look up the previous run

          2. Step 7

            Check for a previous result

            Follows the first path that matches

            • No saved result

              1. Step 8 · Vercel

                Start the Vercel deployment

              2. Step 9 · Code

                Verify the accepted deployment

              3. Step 10 · Storage

                Save the result reference

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Send DatoCMS record-publish webhooks using the secret header configured in the trigger. Connect the same DatoCMS environment and enter the article model ID. In Vercel select the project, Git source, repository, branch and target for the site that reads those articles.

Accounts to connect

  • WebhookBuilt into Connecto, no account
  • Dato CMS
  • StorageBuilt into Connecto, no account
  • Vercel

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template