Connect Apilio to AI agents

Connect Apilio to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

evaluate_logicblock

Evaluate Logicblock

Trigger the evaluation of a logicblock in Apilio. This evaluates all conditions in the logicblock and executes the associated action chain (positive or negative) based on the result. The logicblock must be active for the actions to run.

list_string_variables

List String Variables

Retrieve all string variables from your Apilio account. String variables store text values used in automation logic, such as current weather status, last triggered device, or custom labels.

get_variable

Get Variable

Retrieve the current value and details of a specific variable in Apilio by its ID. Supports boolean, string, and numeric variable types. Useful for checking a variable's current state before updating it or making automation decisions.

update_boolean_variable

Update Boolean Variable

Set, toggle, or update a boolean variable in Apilio. Use **set** to assign true or false directly, or **toggle** to flip the current value. Boolean variables are commonly used to track device states and home/away status.

update_numeric_variable

Update Numeric Variable

Set a numeric variable to an absolute value, or add/subtract from the current value in Apilio. Use **set** to assign a specific number, **add** to increment, or **subtract** to decrement. Useful for counters, thresholds, and sensor-based automations.

update_string_variable

Update String Variable

Set or clear a string variable in Apilio. Provide a **value** to set the variable, or omit it to clear the stored text. String variables can hold any text value used in automation conditions.

list_logicblocks

List Logicblocks

Retrieve all logicblocks from your Apilio account. Logicblocks are the core automation units that combine conditions with AND/OR/NOT logic and trigger different action chains based on whether the overall evaluation is positive or negative.

get_condition

Get Condition

Retrieve the details and current evaluation state of a specific condition in Apilio. Returns whether the condition is currently met, which is useful for checking automation rule states before triggering logicblocks.

manage_logicblock

Manage Logicblock

Activate or deactivate a logicblock in Apilio. Active logicblocks will execute their action chains when evaluated; inactive logicblocks can still be evaluated but their actions will not run. This acts as an on/off switch for your automation logic.

list_numeric_variables

List Numeric Variables

Retrieve all numeric variables from your Apilio account. Numeric variables store number values used in automation logic, such as temperature readings, motion counts, or sensor thresholds.

list_conditions

List Conditions

Retrieve all conditions from your Apilio account with their current evaluation state. Conditions are rules that compare variable values against expected states (e.g., "Is it nighttime?") and are combined with AND/OR/NOT logic in logicblocks.

list_boolean_variables

List Boolean Variables

Retrieve all boolean variables from your Apilio account. Boolean variables store true/false states used in automation conditions, such as whether it is nighttime, if a door is open, or if you are home.

More integrations teams use with Apilio

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles. Receive real-time webhook notifications for page changes, new pages, comments, and database schema updates.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues. Subscribe to real-time webhooks for changes to issues, projects, cycles, comments, documents, and more.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Jira

Create, read, update, and delete issues across projects. Search issues using JQL queries. Manage projects, boards, sprints, and epics for agile workflows. Log work time, add comments and attachments, and transition issues through workflow statuses. Create and manage project versions/releases, issue links, filters, and dashboards. Query users, groups, and permissions. Receive webhooks for issue, comment, sprint, project, board, user, and configuration change events.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Technical notes for Apilio

Manage smart home automation logic by creating and updating variables (boolean, string, numeric), evaluating conditions, and triggering logicblocks. Set, toggle, or clear variable values to reflect device states or contextual information. Retrieve and evaluate conditions that compare variables against expected states using AND/OR/NOT logic. Trigger, activate, or deactivate logicblocks that execute action chains — including delayed actions, cross-brand device commands, and outgoing webhooks — based on positive or negative evaluation results. Coordinate devices across brands like Tuya, Philips Hue, Sonoff, and Tado through complex multi-condition automation.

Connect Apilio to production AI agents

See how Metorial gives Apilio access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Apilio to AI agents with Metorial.

  1. Can Metorial connect Apilio to AI agents?
    Yes. Metorial connects AI agents to Apilio through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.