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. Start by creating a new workflow in n8n with a trigger (like a GitHub webhook node). Add any filter or transform nodes you need, then end with an HTTP Request node pointed at your /hooks/agent endpoint.
Set the HTTP method to POST and add your Bearer token in the authentication section. Then 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.