Back to Docs
Core Features8 min read

AI Operator

Learn how to use natural language to automate tasks. The AI Operator understands your intent and executes complex workflows automatically.

What is the AI Operator?

The AI Operator is Gravitre's natural language interface. Instead of manually building workflows, you can describe what you want in plain English, and the AI will create and execute the automation for you.

How it works

The AI Operator uses a multi-step process: 1) Intent Understanding - parses your request to understand the goal, 2) Planning - creates an action plan with steps, 3) Execution - runs each step with human-in-the-loop approval for sensitive actions, 4) Learning - improves based on feedback.

Example prompts

Here are some examples of what you can ask the AI Operator:

"Sync all new leads from Salesforce to HubSpot daily"

"When a deal closes in HubSpot, create a project in Asana and notify the team in Slack"

"Generate a weekly report of our top 10 customers by revenue and email it to the sales team"

"Find all contacts who haven't been contacted in 30 days and create follow-up tasks"

Action Plans

Before executing, the AI Operator shows you the action plan for approval. You can modify steps, add conditions, or reject the plan entirely. This human-in-the-loop approach ensures safety and accuracy.

API Integration

You can also use the AI Operator programmatically via the API:

const plan = await gravitre.operator.createPlan({
  instruction: "Sync new leads from Salesforce to HubSpot",
  context: {
    workspace_id: "ws_123",
    connectors: ["salesforce", "hubspot"]
  }
});

// Review the plan
console.log(plan.steps);

// Execute if approved
const run = await gravitre.operator.execute(plan.id);

Need more help?

Can't find what you're looking for? Our team is here to help.