Grok (xAI)
Generate text completions using xAI's Grok models. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
5 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Ask GrokSend prompts to Grok with real-time search, tools, and structured outputs.
ask_grok - Categorize TextAssign categories to input text based on custom or predefined labels.
categorize_text - Extract Data From TextExtract structured data fields from unstructured text (e.g., names, addresses, dates).
extract_data_from_text - Generate ImageCreate images from text prompts using Grok's image generation.
generate_image - Custom API CallMake a custom API call to a specific endpoint
custom_api_call
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Grok (xAI). To connect it for every project, use Workspace settings, Integrations.
- Add your credentials
An API key (or token) from your Grok (xAI) account, pasted once. It is stored encrypted and only read on the server when an action runs.
- API key From Grok (xAI)'s settings
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("grok_xai", "ask_grok", { "model": "<model>", "messages": [] }); if (!res.success) throw new Error(res.error); ctx.log.info("Grok (xAI) answered", { output: res.output }); }
More in AI and ML
Grok (xAI) and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.