Skip to main content

OpenAI

Use OpenAI’s API directly in automations — run GPT-4o completions, generate images with DALL·E 3, transcribe audio files, produce speech, and create embeddings for semantic search pipelines.

Authentication

Auth type: API Key Create a secret key at platform.openai.com/api-keys.
CredentialDescription
API KeyYour OpenAI secret key (starts with sk-)
Organization IDOptional — found in OpenAI Platform → Settings → Organization

Actions

ActionKey inputsKey outputs
Chat Completionmodel, systemPrompt, userMessage, temperature, maxTokens, jsonModecontent, model, promptTokens, completionTokens, totalTokens
ActionKey inputsKey outputs
Generate Imageprompt, model (dall-e-3/dall-e-2), size, quality, styleimageUrl, revisedPrompt
ActionKey inputsKey outputs
Transcribe AudioaudioUrl, language, prompttext, language
Text to Speechinput, voice (alloy/echo/fable/onyx/nova/shimmer), model, speedaudioBase64, mimeType
ActionKey inputsKey outputs
Create Embeddinginput, model (text-embedding-3-small / large)embedding[], dimensions, model
Moderate Contentinputflagged, categories, scores
List Modelsmodels[] — id, created
Enable jsonMode: true in Chat Completion to force GPT to return valid JSON output. Your systemPrompt or userMessage must instruct the model to produce JSON — the API enforces the format but does not define the schema.