Let me walk you through connecting n8n to OpenClaw. n8n is an open-source workflow automation tool, and you can wire it up using the HTTP Request node. Create a new workflow in n8n with a trigger (like a GitHub webhook node), add any filter or transform nodes you need, and end with an HTTP Request node pointed at your /hooks/agent endpoint.
Set the HTTP method to POST, add your Bearer token in the authentication section, and map the trigger payload into the JSON body. For example, a GitHub "pull request opened" event can flow through a filter that checks the target branch, then forward the PR details to OpenClaw for automated code review.