AI Chat
Choose an approved AI provider and model for a specific phone workflow.
Description
AIM AI can be configured to use ChatGPT, Claude, Gemini, or Grok for selected reasoning and response tasks. The provider, model, prompts, and data boundaries are confirmed during workflow scoping.
Authentication
- A provider-specific API credential is required.
- Exact permissions and approved actions are confirmed during workflow scoping.
Supported Actions (4)
These are the operations this integration can perform after the required credentials and permissions are approved.
- List AI chat providers
- List models for a provider
- List models for all providers
- Execute chat completions
Examples
Use these representative payloads as a technical starting point, then replace the sample values with the approved workflow data.
Representative workflow configuration for AI Chat - List Providers.
{
"automationType": "ai_chat",
"nodeId": "ai-node-000",
"nodeParams": {
"action": "listProviders",
"params": {}
}
}Representative workflow configuration for AI Chat - List Models (Provider).
{
"automationType": "ai_chat",
"nodeId": "ai-node-001",
"nodeParams": {
"action": "listModels",
"params": {
"provider": "openai"
}
}
}Representative workflow configuration for AI Chat - List Models (All Providers).
{
"automationType": "ai_chat",
"nodeId": "ai-node-002",
"nodeParams": {
"action": "listModels",
"params": {}
}
}Representative workflow configuration for AI Chat - Chat (OpenAI).
{
"automationType": "ai_chat",
"nodeId": "ai-node-003",
"nodeParams": {
"action": "chat",
"params": {
"provider": "openai",
"model": "gpt-5-mini",
"apiKey": "YOUR_OPENAI_API_KEY",
"messages": [
{ "role": "system", "content": "You are a helpful assistant." },
{ "role": "user", "content": "Write a one-line haiku about winter." }
],
"temperature": 0.1,
"maxTokens": 64
}
}
}Representative workflow configuration for AI Chat - Chat (Anthropic).
{
"automationType": "ai_chat",
"nodeId": "ai-node-004",
"nodeParams": {
"action": "chat",
"params": {
"provider": "anthropic",
"model": "claude-4-haiku-latest",
"apiKey": "YOUR_ANTHROPIC_API_KEY",
"messages": [
{ "role": "user", "content": "Summarize this sentence in 10 words." }
]
}
}
}Representative workflow configuration for AI Chat - Chat (xAI).
{
"automationType": "ai_chat",
"nodeId": "ai-node-005",
"nodeParams": {
"action": "chat",
"params": {
"provider": "xai",
"model": "grok-3-latest",
"apiKey": "YOUR_XAI_API_KEY",
"messages": [
{ "role": "user", "content": "Tell a short joke about databases." }
]
}
}
}Representative workflow configuration for AI Chat - Chat (Gemini).
{
"automationType": "ai_chat",
"nodeId": "ai-node-006",
"nodeParams": {
"action": "chat",
"params": {
"provider": "gemini",
"model": "gemini-2.0-flash",
"apiKey": "YOUR_GEMINI_API_KEY",
"messages": [
{ "role": "system", "content": "You are a helpful assistant." },
{ "role": "user", "content": "List 3 fun weekend activities." }
],
"temperature": 0.2,
"maxTokens": 64
}
}
}