About this integration
API access to xAI models for chat completions and tool use.
There are 0 triggers, 0 search modules and 4 actions available. The integration connects via basic authentication.
How to connect
The credential form asks for API Key.
Prefer the interactive builder form? Open it on the app page.
Enter your credentials below. WEXTL stores them encrypted and uses them only to call the API on your behalf.
| Field | Type | Help |
|---|---|---|
API KeyRequired | password | You can obtain an API key from https://console.x.ai. |
Use it in workflow automation
Add Create a Chat Completion as a workflow step.
The canvas below shows the integration — watch the video, then drop a node onto the canvas.
Start with the Create a Chat Completion step and run it on demand or on a schedule.
Then add Create a Prompt Completion as the next node. Branch, filter, or hand off to other integrations from there.
The integration includes 4 ready-made modules for AI work — each run logs its inputs and outputs for debugging.
xAI workflow on the canvas: Create a Chat Completion then Create a Prompt Completion
Triggers, searches and actions
Open any xAI trigger, search, or action to see its inputs and outputs — 0 triggers, 0 searchs, 4 actions.
Actions
Take action during a run with 4 available modules that write data back into the app.
- Create a Chat Completion
- Create a Prompt Completion
- Create Embeddings
- Make an API Call
Explore the fields available for each xAI trigger, search, and action.
Actions
| Field | Type |
|---|---|
MessagesRequired | array |
ModelRequired | choice |
Frequency Penalty | number |
Logit Bias | object |
Logprobs | boolean |
Max Tokens | number |
n | number |
Presence Penalty | number |
Seed | number |
Stop | array |
Stream | boolean |
Temperature | number |
Tools | array |
Top Logprobs | number |
Top P | number |
User | text |
| Field | Type |
|---|---|
Choices | array |
Created | number |
ID | text |
Model | text |
Object | text |
System Fingerprint | text |
Usage | text |
| Field | Type |
|---|---|
ModelRequired | choice |
PromptRequired | text |
Best Of | number |
Echo | boolean |
Frequency Penalty | number |
Logit Bias | object |
Logprobs | boolean |
Max Tokens | number |
n | number |
Presence Penalty | number |
Seed | number |
Stop | array |
Stream | boolean |
Suffix | text |
Temperature | number |
Top P | number |
User | text |
| Field | Type |
|---|---|
Choices | array |
Created | number |
ID | text |
Model | text |
Object | text |
System Fingerprint | text |
Usage | text |
| Field | Type |
|---|---|
InputRequired | text |
Model IDRequired | choice |
Dimensions | number |
Encoding Format | choice |
User | text |
| Field | Type |
|---|---|
Data | array |
Model | text |
Object | text |
Usage | text |
| Field | Type |
|---|---|
URLRequired | text |
MethodRequired | choice |
Headers | array |
Header | object |
Query String | array |
Parameter | object |
Body | text |
| Field | Type |
|---|---|
Body | text |
Headers | object |
Status code | number |

