Workflow builder
OrcaRouter tools in n8n
Call discover and run from n8n's HTTP Request node, with your OrcaRouter key as a header credential, to put catalog tools into any workflow.
Details
- Kind
- Workflow builder
- Connects through
- REST API
Set it up
- Create a Header Auth credential named
Authorizationwhose value isBearerfollowed by your OrcaRouter API key. - Add an HTTP Request node, choose Import cURL, paste the discover command below and select the credential.
- Add a second HTTP Request node for the run call; its URL takes the tool id from the first node with the expression below.
Code
curl -X POST https://api.orcarouter.ai/v1/tools/discover \
-H "Authorization: Bearer $ORCAROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"q": "tiktok user profile", "limit": 3}'curl -X POST "https://api.orcarouter.ai/v1/tools/$TOOL_ID/run" \
-H "Authorization: Bearer $ORCAROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": {"username": "nasa"}}'https://api.orcarouter.ai/v1/tools/{{ $json.data.results[0].id }}/runRecipes to try with n8n
- Track competitor TikTok accountsPull each competitor's TikTok profile, find its latest videos and read what viewers say, in three tool calls an agent can repeat every week.
- Monitor brand mentions on the web and TikTokSearch the web and TikTok for your brand, then read the comments under the posts that mention it: a daily brand check an agent can run on its own.
- Enrich a lead listTurn a list of company domains into firmographics, a contact's work email and a recent news hook, with one API key.
Other integrations
- DifyImport an OpenAPI schema for discover, inspect and run as a Dify custom tool, then use the catalog from Dify agents and workflows.
- LangChainLoad OrcaRouter tools as LangChain tools from the functions export and give them to any LangChain agent; each call runs the tool through OrcaRouter.
- Claude CodeAdd the OrcaRouter MCP server to Claude Code with one command; Claude can then search the tool catalog and run tools while it works.
