Skip to main content

OpenAI Connection

The OpenAI connection type enables automations to call OpenAI's API for language generation, embeddings, image generation, and transcription. It is used by any plugin or step that targets GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo, DALL-E, Whisper, or the Embeddings API.

Connection Details

PropertyValue
Type IDOPENAI
CategoryAI Platforms
TestableYes

Friendly Example

What you enterExample
Connection nameOpenAI - Ticket Summariser
Used forSummarising support tickets and drafting suggested replies inside a workflow
Main details to collectSecret API key, billing-verified account, optional organization/project IDs
Best person to provide itAI platform owner or the engineer who manages the OpenAI account

After it is saved, workflow builders select OpenAI - Ticket Summariser in a node instead of re-entering credentials every time.

Mandatory Fields

FieldWhat It MeansExample
apiKeyThe secret key used to authenticate every request to the OpenAI API. Starts with sk-. Encrypted at rest.sk-proj-abc123...
Keep your API key secret

The key is shown only once when you create it. Store it in a password manager or directly in Qinfinite — never paste it into code or chat.

Advanced Fields

FieldWhat It MeansExample
organizationIdScopes usage and billing to a specific OpenAI organization. Required if your user account belongs to more than one org.org-RaBcDeFgH
projectIdScopes requests to a specific project within the organization. Useful for separating cost tracking by team or use-case.proj-XyZ789
defaultModelThe model to use when a workflow step does not specify one explicitly.gpt-4o
baseUrlOverride the API base URL. Use this for Azure OpenAI endpoints or a corporate proxy. Defaults to https://api.openai.com/v1.https://my-company.openai.azure.com/
Supported models (as of April 2026)

gpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-3.5-turbo, text-embedding-3-small, text-embedding-3-large

Rate limits, context windows, and pricing differ by model. Check the OpenAI model overview for the latest details.

Setup Instructions

  1. Sign in to platform.openai.com. Create an account if you do not have one.

  2. Open the API Keys page. Click your profile avatar in the top-right corner, choose API Keys, then click Create new secret key. Give it a descriptive name such as Qinfinite Automation.

  3. Copy the key immediately. OpenAI shows the full key only once. Paste it into Qinfinite's API Key field before closing the dialog.

  4. Set up billing. Navigate to Settings → Billing and add a payment method. Requests fail with a 429 error if there is no active payment method or if your usage limit is reached.

  5. (Optional) Locate your Organization ID and Project ID. Go to Settings → Organization to find the org ID (format org-...). Project IDs appear under Settings → Projects. Add these to the Advanced Fields if you need cost isolation between teams.

Troubleshooting

SymptomLikely CauseFix
401 Incorrect API key providedThe API key is wrong, revoked, or was copied with extra whitespaceRegenerate a fresh key on platform.openai.com and update the connection
429 You exceeded your current quotaNo active billing method, or you have hit your monthly spend limitAdd or verify a payment method under Settings → Billing; increase the spend limit if needed
429 Rate limit reached for requestsToo many calls per minute for your tier (free / tier 1–5)Add a retry with exponential back-off in the workflow, or request a rate limit increase
404 The model does not existThe defaultModel field contains a model name your account cannot accessUse a model your subscription tier supports, or request access in the OpenAI console