Skip to content

n8n Integration

You can send PingDock alerts from your n8n workflow using the HTTP Request node.

API request

  1. Add an HTTP Request node.
  2. Method: POST
  3. URL:
https://api.pingdock.io/ping
  1. Enable Send Body switch
  2. Set Body Content Type as JSON
  3. You can Specify Body as JSON or as Using Fields Below.

Use this structure

json
{
  "dock_id": "",
  "secret_key": "",
  "msg": "Hello from n8n!"
}

For Using Fields Below set fields manually

Name: dock_id
Value: <your Dock ID>

Name: secret_key
Value: <Dock's secret key>

Name: msg
Value: <message to send>

Remember that you can always use variables from previous steps as a message.

Webhook method

  1. Add an HTTP Request node.
  2. Method: POST
  3. URL:
https://api.pingdock.io/webhook
  1. Select Authentication as Generic Credential Type
  2. Select Generic Auth Type as Basic Auth
  3. Create Basic Auth credentials, where
User: <Dock ID>
Password: <Seceret Key>
  1. Enable Send Body switch
  2. Set Body Content Type as JSON
  3. You can Specify Body as JSON or as Using Fields Below.

Use this structure

json
{
  "msg": "Hello from n8n!"
}

For Using Fields Below set fields manually

Name: msg
Value: <message to send>

Remember that you can always use variables from previous steps as a message.