> This page is for Workforce.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Zoho Analytics

**Authentication:** OAuth. When connecting, pick the data center your Zoho Analytics account is hosted in (the domain you sign in at, such as `analytics.zoho.eu` for Europe), and optionally enter your numeric organization ID from **Settings → Manage Organizations**. Canada-hosted accounts are not supported yet. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

## Sample use cases

* Run a SQL query over the `Sales` table and summarize revenue by region for last quarter
* Import a CSV of new leads into an existing table and report any rows that failed
* Share the `Pipeline Overview` dashboard with `alice@acme.com` as read-only

## Available tools

#### activate_org_users

Reactivate deactivated organization users (inverse of deactivate_org_users).

#### add_aggregate_formula

Add an aggregate formula to a table: one value computed over all rows, e.g. 'sum("Amount")'; returns its formulaId.

#### add_column

Add an empty data column to a table; returns its columnId.

#### add_favorite_view

Mark a view as a favorite of the connected user. Undo with remove_favorite_view. Use list_views for view_id.

#### add_favorite_workspace

Mark a workspace as a favorite for the connected user.

#### add_formula_column

Add a formula column: a column calculated per row from other columns, e.g. '"Amount" \* 0.1'; returns its formulaId.

#### add_lookup

Make a column a lookup to another table's column, relating the two tables so reports can join them.

#### add_org_users

Add users to the organization by email (each is emailed an invitation and uses a plan seat; check get_resource_usage).

#### add_row

Add one row to a table, given column name to value.

#### add_workspace_users

Add users to a workspace by email with a role (USER, WORKSPACEADMIN or a custom role); new people are invited by email, so confirm addresses first.

#### auto_analyse_column

Have Zoho auto-generate reports analysing one column.

#### auto_analyse_view

Have Zoho auto-generate reports and a dashboard for a table.

#### change_workspace_user_role

Change the role of users inside one workspace (USER, WORKSPACEADMIN or a custom role).

#### change_workspace_user_status

Activate or deactivate users in one workspace (deactivate suspends their access reversibly).

#### copy_formulas

Copy formula columns of a table to the table with the same name in another workspace of this organization.

#### copy_views

Copy views (tables, reports, dashboards) from one workspace into another, optionally with data and dependent views.

#### copy_workspace

Copy a workspace (its tables, reports and dashboards, optionally its data) into a new workspace and return the new workspaceId.

#### create_folder

Create a folder in a workspace, optionally nested under parent_folder_id or made the default.

#### create_query_table

Create a query table: a view defined by a SQL SELECT that joins or aggregates tables and stays in sync with them; returns its viewId.

#### create_report

Create a chart, pivot or summary report over a table or query table; returns its viewId.

#### create_similar_views

Recreate the reports of a reference table on top of another table with the same columns, saved into a folder.

#### create_table

Create an empty table with typed columns in a workspace; returns its viewId.

#### create_variable

Create a workspace variable: LIST (pick from values), RANGE (min/max/step) or ALL_VALUES, with optional per-user values.

#### create_view_export_job

Start an asynchronous export of a view's data (for large tables) and return its jobId.

#### create_workspace

Create an empty workspace and return its workspaceId.

#### deactivate_org_users

Deactivate organization users: they keep their account but lose access until activate_org_users.

#### delete_aggregate_formula

Delete an aggregate formula from a table.

#### delete_column

Delete a column and its data from a table.

#### delete_folder

Delete a folder (permanent, no trash). Set `delete_dependent_views=true` to also delete its views with their dependents.

#### delete_formula_column

Delete a formula column from a table. Check list_column_dependents (with the column's ID from get_table_metadata) first.

#### delete_rows

Delete the rows of a table matching a criteria such as "Sales"."Region"='East', or every row with `delete_all_rows=true.`

#### delete_trash_view

Permanently delete a view from the workspace trash; it cannot be restored afterwards.

#### delete_variable

Delete a workspace variable. Formulas or filters that use it stop working.

#### delete_view

Delete a view (table, report, query table, dashboard).

#### delete_workspace

Permanently delete a workspace with all its tables, data, reports and dashboards.

#### export_view_data

Export a view as CSV/JSON/XML/HTML text, cut at max_chars.

#### get_aggregate_formula_value

Get the current computed value of an aggregate formula, e.g. total sales.

#### get_export_job

Get a bulk export job's status: jobCode '1004' means completed (then call get_export_job_data), '1001'/'1002' pending, '1003' failed.

#### get_export_job_data

Read job data as text cut at max_chars. Waits up to about 12 s; if still running, check get_export_job and retry.

#### get_last_import_details

Get the status of the last import into a table: time, outcome, row and column success/failure counts and errors.

#### get_my_view_permissions

Get the connected user's own permissions on a view (read, export, add/update/delete rows, import, share...).

#### get_publish_config

Get how a view is published: public-link settings and private-link/embed settings.

#### get_query_table

Get a query table's SQL, the tables it reads from and its output columns.

#### get_report_metadata

Get a report's design: title, report and chart type, base table, axis columns with operations, and filters.

#### get_resource_usage

Get the organization's plan limits and usage: users, workspaces, rows, query tables, API units and more.

#### get_shared_details_for_views

Show who each given view is shared with (users, groups, public, private link), their permissions, criteria and column limits.

#### get_subscription

Get the organization's Zoho Analytics plan, add-ons, billing date and trial status.

#### get_table_metadata

Get the columns of a table or query table: columnId, columnName, data type, hidden/PII flags, lookup target.

#### get_variable

Get a variable's full definition: type, data type, default values, format and per-user values.

#### get_view

Get one view's details (name, type, description, workspaceId) by view ID, optionally with its columns and involved views.

#### get_view_by_name

Resolve a workspace name (and optionally a view name in it) to workspaceId and viewId.

#### get_view_url

Get the URL of a view, with embedded-mode display options.

#### get_workspace

Get one workspace's name, description, owner, creation time and organization.

#### get_workspace_share_info

List everything shared in a workspace, grouped by recipient: users, groups, public and private-link shares, with each view's permissions.

#### hide_columns

Hide columns of a table from its views (data is kept).

#### import_data

Import CSV or JSON text or a staged FILE upload into an existing table: append rows, replace all rows (truncateadd), or update matching rows and append the rest (updateadd, needs matching_columns).

#### import_data_new_table

Create a new table in a workspace from CSV or JSON text or a staged FILE upload; optionally set column types.

#### list_aggregate_formula_dependents

List the tables an aggregate formula reads and the reports, dashboards and formulas that use it.

#### list_aggregate_formulas

List the aggregate formulas defined on one table.

#### list_column_dependents

List the views, formula columns and aggregate formulas that use a column.

#### list_dashboards

List dashboards the user can access in the organization, with workspace, name and page filters.

#### list_datasources

List a workspace's data sources (databases, cloud apps, URL feeds) with sync status, schedule, sync interval IDs and the tables each feeds.

#### list_email_schedules

List the email schedules in a workspace (recurring emails of views), including their IDs and names.

#### list_folders

List the folders of a workspace with folderId, name, position, parent and which is the default.

#### list_formula_columns

List the formula (calculated) columns of a table: formulaId and formulaName.

#### list_groups

List the user groups in a workspace with their IDs, names and member emails.

#### list_org_admins

List the email addresses of the organization's administrators.

#### list_org_users

List every user in the organization with email, active status and role.

#### list_organizations

List the Zoho Analytics organizations the connected account belongs to, with orgId, plan, role and whether each is the default.

#### list_owned_dashboards

Deprecated Zoho endpoint. List the dashboards the connected user owns, across all workspaces.

#### list_owned_workspaces

Deprecated Zoho endpoint. List only the workspaces the connected user owns.

#### list_recent_views

List the views the connected user opened most recently, across all workspaces, with workspaceId and last-access time.

#### list_shared_dashboards

Deprecated Zoho endpoint. List the dashboards other users shared with the connected user.

#### list_shared_workspaces

Deprecated Zoho endpoint. List only the workspaces other users have shared with the connected user.

#### list_trash_views

List the views deleted from a workspace that are still in its trash, with who deleted them and when.

#### list_variables

List a workspace's variables (name, ID, type, data type).

#### list_view_dependents

List the views (reports, query tables, dashboards) that depend on a table or query table.

#### list_views

List or search the views (tables, charts, pivots, query tables, dashboards) of a workspace.

#### list_workspace_admins

List the email addresses of a workspace's administrators. Use list_workspaces to find the workspace_id.

#### list_workspace_aggregate_formulas

List every aggregate formula in a workspace, across all tables.

#### list_workspace_users

List the users of one workspace with email, active status and role.

#### list_workspaces

List every workspace the user can access in the organization, with workspaceId, name and default flag.

#### make_view_public

Publish a view publicly: to the whole web (default), the Zoho Analytics org or the Zoho business org, with row criteria and permissions.

#### move_folder

Change a folder's level: `hierarchy='parent'` makes it top-level, 'child' nests it under parent_folder_id.

#### move_views_to_folder

Move one or more views into a folder of the same workspace. Use list_views for view_ids and list_folders for folder_id.

#### query_data

Run a SQL SELECT over a workspace's tables and return csv/json/xml/html text.

#### remove_default_workspace

Stop a workspace being the connected user's default workspace (inverse of set_default_workspace).

#### remove_favorite_view

Remove a view from the connected user's favorites (inverse of add_favorite_view). Use list_views for view_id.

#### remove_favorite_workspace

Unmark a workspace as a favorite for the connected user (inverse of add_favorite_workspace).

#### remove_lookup

Remove a column's lookup made with add_lookup; the column and its data stay.

#### remove_org_users

Remove users from the organization, revoking their access to every workspace.

#### remove_public_access

Stop publishing a view publicly; its public URL stops working.

#### remove_view_shares

Stop sharing views with users and/or groups: give view_ids, or `remove_all_views=true` to unshare everything from those users.

#### remove_workspace_users

Remove users from a workspace (they stay in the organization).

#### rename_column

Rename a column of a table. Use get_table_metadata for column_id and list_views for view_id.

#### rename_folder

Rename a folder and optionally change its description. Use list_folders to find folder_id.

#### rename_view

Rename a view and optionally change its description. Use list_views to find view_id.

#### rename_workspace

Rename a workspace and optionally replace its description. Use list_workspaces to find the workspace_id.

#### reorder_columns

Set the column order of a table. Pass every column ID of the table in the new order; get them from get_table_metadata.

#### reorder_folder

Move a folder to the position of a reference folder in the folder list.

#### restore_trash_view

Restore a deleted view from the workspace trash (undoes delete_view), optionally with its dependent views.

#### save_view_as

Duplicate a view in the same workspace under a new name, optionally with data and into a folder.

#### set_default_folder

Make a folder the workspace's default folder, where new views are saved.

#### set_default_workspace

Make a workspace the connected user's default workspace (replaces the current default).

#### share_views

Share views with users (email_ids) and/or groups (group_ids) with the given permissions; read must be true.

#### show_columns

Show columns hidden with hide_columns. Use get_table_metadata (isHidden) for column IDs and list_views for view_id.

#### update_aggregate_formula

Replace an aggregate formula's expression (and optionally its description).

#### update_formula_column

Replace a formula column's expression. Use list_formula_columns for formula_id and list_views for view_id.

#### update_query_table

Replace a query table's SQL (and optionally move it to another folder).

#### update_report

Redefine a report made with create_report: title, type, axis columns and filters all replace the current design, so pass the full design.

#### update_rows

Set column values on every row matching a criteria such as "Sales"."Region"='East' (or on all rows with update_all_rows); add_if_not_exist upserts.

#### update_shared_details

Change the permissions, criteria or column limits of one view already shared with the given users/groups.

#### update_variable

Replace a variable's name, type, data type, values and format (all required fields are resent; read the current one with get_variable first).