OAUTH 2.0
ACCOUNTING
Zoho Books gives your agent accounting operations in each user's Zoho Books organization: create and email invoices and estimates, record bills, expenses, and payments, post journals, and read the chart of accounts and bank transactions.
For more tools, view docs.
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";
const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
// Zoho Books tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
filter: { connectionNames: ["zohobooks"], toolNames: [
"zohobooks_invoices_list",
"zohobooks_invoice_payment_reminder_send",
"zohobooks_customer_payment_create"] },
pageSize: 100,
});
const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Send payment reminders for every overdue invoice from Acme Corp" }] });import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";
const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();
const { tools } = await sk.tools.listScopedTools("user_123", {
filter: { connectionNames: ["zohobooks"] }, pageSize: 100,
});
const res = await openai.chat.completions.create({
model: "gpt-5",
messages: [{ role: "user", content: "Send payment reminders for every overdue invoice from Acme Corp" }],
tools,
});
// Execute the tool call with the user's vaulted Zoho Books OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";
const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();
const { tools } = await sk.tools.listScopedTools("user_123", {
filter: { connectionNames: ["zohobooks"] }, pageSize: 100,
});
const msg = await anthropic.messages.create({
model: "claude-sonnet-5",
max_tokens: 1024,
messages: [{ role: "user", content: "Send payment reminders for every overdue invoice from Acme Corp" }],
tools,
});
// Tool call runs with the user's vaulted Zoho Books OAuth token
await sk.tools.executeTool(msg.content, "user_123");import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";
const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const { tools } = await sk.tools.listScopedTools("user_123", {
filter: { connectionNames: ["zohobooks"] }, pageSize: 100,
});
const agent = new Agent({
name: "accounting_agent",
model: "gemini-2.5-pro",
instruction: "Zoho Books tools scoped to this user",
tools,
});
await agent.run("Send payment reminders for every overdue invoice from Acme Corp");// shared token
audit → bot_service_account
// scalekit
audit → user_abc ✓// authn only
has_token? yes
call → 200 (anything)
// scalekit
scope ⊃ tool? yes
call → 200 (allowed)vault/
tenant_acme/ → isolated
tenant_globex/ → isolated
// cross-tenant: denied// DIY: N tools
connector_oauth.py ×100
// scalekit
client.tools.execute_tool(
tool_name="any_tool",
) → 100+ tools
We use cookies, so things load fast, we learn what to fix, and you can always reach us on chat