In this section we will explain the workflow on how to configure our Webhook service for full document automation CI cycle.

On the Dashboard, next to the desired document, by clicking on “…” the following window will appear:

docx-as-code dashboard options

By clicking on the “Configure Web-hook” option the following window will appear:

configure Webhook

The dialog will show the following parameters and options:

  • Webhook URL (required for Webhook configuration on Git provider side)
  • Secret Token (required for Webhook configuration on Git provider side)
  • Application Type (required for Webhook configuration on Git provider side)
  • Allow webhook push to git (will allow built document to be pushed automatically to the Git repository)

The parameters provided above should be set in Git provider application under your Docs or Website Repository:

  • GitLab - Settings > Webhooks
  • GitHub - Settings > Webhooks > Add webhook

Make sure that Enable SSL verification option is enabled.

More details on configuring Webhooks for Git providers could be found bellow: