INTEGRATIONS / HTTP SETUP GUIDE

pageflock, meet n8n.

Connect through n8n's HTTP Request node using a generic credential. This is a manual HTTP setup, rather than a native pageflock node.

← All integrations

Your first connection.

  1. 01

    Add an HTTP Request node. Set Method to POST and URL to your pageflock origin followed by /api/pageflock/v1/scrape.

  2. 02

    Use a generic Header Auth credential: header name Authorization, value Bearer followed by a space and your pageflock API key.

  3. 03

    Enable Send Body, choose JSON, and enter {"url":"https://example.com"}. Choose JSON as the response format and a 45000 ms timeout.

  4. 04

    Execute one request and inspect its status and output before connecting it to the next node. Keep batching within your account limits.

Tool reference: n8n documentation ↗

Build the request.

Set the environment variables in your terminal for these code examples. In automation tools, enter the URL and credentials in the tool’s own fields.

curl --fail-with-body --include --max-time 45 \
  -X POST "$WAGGLE_BASE_URL/api/pageflock/v1/scrape" \
  -H "Authorization: Bearer $WAGGLE_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
  "url": "https://example.com"
}'

This edits a code example. It does not send a request or use credits.

Run a request in your workspace
YOUR PRIVACY

Choose what works for you. You can reopen these settings from the footer at any time.