LLM nodes in workflow tools often invent endpoints or field names. By giving the model a strict list of allowed operations and JSON schemas, you get reliable output: one HTTP request (method, url, headers, body) that your next node can execute against your Synap Pod API.
1. Add an AI node (e.g. OpenAI) and paste the system prompt above into the system message. 2. In the user message, pass the base URL (e.g. https://your-pod.com/api/hub) and the action the user wants (e.g. “Create a task titled ‘Review Q4 report’”). 3. Parse the node output as JSON and feed it into an HTTP Request node: use method, url, headers, body. 4. Store your API key in a credential or variable and inject it into the Authorization header (the LLM should output Bearer <token> as placeholder; replace with the real key in the workflow).
POST /entities — userId, workspaceId, type, title are required. description and properties (object) are optional. type must be a profile slug that exists in the workspace (e.g. task, note, project).
PATCH /entities/:entityId — userId, workspaceId required; title, preview, metadata optional.
POST /documents — userId, title required; content (string), type (text|markdown|code|pdf|docx) optional.