DashboardSign inStart your trial

Hex

Reference

32 actions for Hex workflows.

01. Operations

Act on Hex from a workflow

Operations are the actions a workflow can take in Hex, grouped by category. Each lists its method, parameters, and a template you can drop it into.

Cells

5 operations

Manage individual code and visualization cells within Hex projects through create, read, update, and delete operations. Use these endpoints to programmatically modify project content, automate cell management, or integrate Hex cells into your broader automation workflows.

Action

Create Cell

HEX_CREATE_CELL

Add a new code or SQL cell to your Hex project to expand its functionality with custom logic or database queries. This lets you build out your analytics and data processing workflows without leaving the platform.

5 input
Action

Delete Cell

HEX_DELETE_CELL

Remove a cell from your Hex project draft to clean up analysis or eliminate outdated content. This helps you maintain a focused, organized project as your analysis evolves.

1 input
Action

Get Cell

HEX_GET_CELL

Retrieve detailed information about a specific cell from a Hex project, including its contents and metadata, to access code, SQL queries, or other cell data.

1 input
Action

List Cells

HEX_LIST_CELLS

Retrieve all cells from a Hex project draft to access their source code, configurations, and metadata in a paginated format. Use this to audit your project structure, understand cell dependencies, or extract code for documentation.

4 input
Action

Update Cell

HEX_UPDATE_CELL

Modify the code or data connection settings within a Hex cell to update your project's logic or data sources. This lets you refine calculations, fix queries, or change how data flows through your project without recreating the entire cell.

3 input

Collections

4 operations

Organize and manage project collections, which group related Hex projects together for easier navigation and governance. These operations allow you to create, list, and modify collections as part of your workspace management automation.

Action

Create Collection

HEX_CREATE_COLLECTION

Organize your Hex projects and resources by creating a new collection to group related work together. This helps keep your workspace structured and makes it easier to find and manage related items.

3 input
Action

Edit Collection

HEX_EDIT_COLLECTION

Update a collection's name, description, and sharing settings to keep your Hex projects organized and control who can access them.

4 input
Action

Get collection

HEX_GET_COLLECTION

Retrieve detailed information about a specific collection in Hex, including its name, description, creator, and sharing settings. Use this to understand collection structure and permissions before accessing or modifying its contents.

1 input
Action

List Collections

HEX_LIST_COLLECTIONS

Retrieve all collections in your workspace to discover and browse available projects and data sources. This helps you find collections you need to work with or manage.

5 input

Connections

1 operation

Access the data connections available in your Hex workspace that enable projects to query databases and data sources. Use this to discover which connections are configured and available for your automated workflows.

Action★ Featured

List Data Connections

HEX_LIST_DATA_CONNECTIONS

Retrieve all data connections configured in your Hex workspace to see what databases, APIs, and data sources are available for your projects. This helps you understand what data resources your team can access and use in analyses.

5 input

Execution

5 operations

Trigger and monitor Hex project runs programmatically, from initiating execution to checking status and retrieving results. These operations are essential for embedding Hex computations into automated workflows and orchestration pipelines.

Action★ Featured

Get Run Status

HEX_GET_RUN_STATUS

Check the current status and progress of a Hex project run, including whether it's completed, in progress, or failed, along with timing details. This helps you monitor the execution of your data projects and respond quickly to any issues.

3 input
Action★ Featured

Run Project

HEX_RUN_PROJECT

Executes the latest published version of a Hex project on-demand, allowing you to automate data analysis, reporting, or computation workflows without manual intervention.

8 input
Action

Cancel Run

HEX_CANCEL_RUN

Stops a currently executing Hex project run that is in progress, allowing you to halt long-running computations or data processes without waiting for completion.

2 input
Action

Get Project Runs

HEX_GET_PROJECT_RUNS

Retrieve the execution status and history of your Hex project runs to track data processing jobs and monitor when analyses complete.

4 input
Action

Get Run Chart Image

HEX_GET_RUN_CHART_IMAGE

Retrieve a visual chart image from a completed Hex project run to embed in reports, dashboards, or presentations. This allows you to extract and reuse data visualizations programmatically.

3 input

Groups

5 operations

Manage team groups within your Hex workspace to control permissions and access at scale. Use these endpoints to create groups, assign members, and modify group settings as part of your identity and access management automation.

Action

Create Group

HEX_CREATE_GROUP

Organize your team members into groups within your Hex workspace to streamline collaboration, manage permissions, and control who can access specific projects and data.

2 input
Action

Delete Group

HEX_DELETE_GROUP

Permanently remove a group from your Hex workspace when it's no longer needed. This is useful for cleaning up after team reorganizations or closing completed projects.

1 input
Action

Edit Group

HEX_EDIT_GROUP

Update a group's name, description, or manage its members by adding or removing users to control access and organization within your Hex workspace.

3 input
Action

Get Group

HEX_GET_GROUP

Retrieve detailed information about a specific Hex group, including its ID, name, and creation date. Use this to access group details for organizational and collaboration purposes.

1 input
Action

List groups

HEX_LIST_GROUPS

Retrieve all groups in your Hex workspace with filtering and pagination options to manage team access and collaboration structures. Useful for organizing and viewing how your projects and data are grouped for different teams or departments.

5 input

Guides

3 operations

Author and publish Hex guides as interactive documents that communicate findings and insights. These operations let you automate guide creation, update drafts, and manage the publishing workflow programmatically.

Action

Delete Guide Draft

HEX_DELETE_GUIDE_DRAFT

Permanently removes a draft guide from your Hex workspace when you no longer need it or want to start fresh with a new version.

1 input
Action

Publish Guide Drafts

HEX_PUBLISH_GUIDE_DRAFTS

Makes your draft guides publicly available so readers can access them, either publishing all drafts at once or selecting specific guides by ID.

2 input
Action

Upsert Guide Draft

HEX_UPSERT_GUIDE_DRAFT

Create or update guide drafts in Hex by file path, automatically managing new guides and draft versions without manual intervention.

2 input

Projects

3 operations

Retrieve and manage core project metadata and settings in your Hex workspace. Use these endpoints to list projects, get project details, and update project status as part of workspace management automation.

Action★ Featured

Get Project

HEX_GET_PROJECT

Retrieve detailed information about a Hex project including its title, description, creator, owner, status, and sharing settings. Use this to access project metadata and understand project configurations without opening the Hex interface.

2 input
Action★ Featured

List Hex Projects

HEX_LIST_PROJECTS

Retrieve all your Hex projects with the ability to filter by status, categories, creator, or owner to find specific projects quickly. This helps you organize and manage your data projects in one place.

14 input
Action★ Featured

Update Project Status

HEX_UPDATE_PROJECT

Update or remove project status and endorsements in Hex to keep your project information current and accurately reflect its state or progress.

2 input

Sharing

4 operations

Control access to Hex projects by managing sharing permissions across users, groups, and collections. These operations enable you to automate governance, set default access levels, and adjust project visibility as part of your access control workflows.

Action

Edit Project Sharing Collections

HEX_EDIT_PROJECT_SHARING_COLLECTIONS

Organize and control project access by adding or removing projects from shared collections, making it easier to manage who can view specific work across your team.

2 input
Action

Edit Project Sharing Groups

HEX_EDIT_PROJECT_SHARING_GROUPS

Manage which groups of people have access to your Hex projects and control their permissions. Use this when you need to grant or update group access to keep your data and analytics secure.

2 input
Action

Edit Project Sharing Settings

HEX_EDIT_PROJECT_SHARING_ORG_AND_PUBLIC

Control who can access your Hex project by adjusting sharing permissions for team members and public web access.

2 input
Action

Edit Project Sharing Users

HEX_EDIT_PROJECT_SHARING_USERS

Manage individual user access permissions to Hex projects by granting or modifying access levels from view-only to full control. Use this when you need to quickly adjust who can interact with your analytics and data projects.

2 input

Users

2 operations

Administer user accounts in your Hex workspace, including listing active users and deactivating those no longer needing access. Use these operations to manage workspace membership and enforce user lifecycle policies automatically.

Action

Deactivate User

HEX_DEACTIVATE_USER

Disables a user account in your Hex workspace, preventing them from accessing projects and data while preserving their historical contributions and audit trails.

1 input
Action

List Users

HEX_LIST_USERS

Retrieve all users in your Hex workspace along with their details like names, emails, and roles, with pagination support for managing large teams.

6 input
What now

Use Hex in a workflow

Drop a trigger and an action into a template; approve from your phone; the workflow runs.