convex.runQuery calls a named query on a connected Convex deployment and returns its Convex value.
automations/read-convex-messages.automation.ts
Inputs
The result is a
ConvexValue, including Convex bigint and ArrayBuffer values. For an internal query, omit the internal. prefix used by generated Convex references and connect credentials with the corresponding run-internal permission.
The selected deployment must use a hosted .convex.cloud URL. Automate.ax can’t reach a local development deployment.