Skip to content
Azure OpenAI

How to use Azure OpenAI

Cost: 1 credit + 2 per runTop 100 · #27Full guide

What it is for

The Azure OpenAI component lets you send prompts to GPT models deployed in your own Azure resource and use the answer in the rest of the flow. It is useful for summarizing text, classifying emails, drafting replies or extracting information while keeping the model inside your Azure subscription.

This component has no triggers: use it as an action inside flows started by other triggers, such as a new email or a form submission.

Set up the connection

Authentication type: Custom credentials

  1. 1In the Azure portal open your Azure OpenAI resource and go to the keys and endpoint section.
  2. 2Copy the endpoint URL and one of the keys.
  3. 3In flooows add an Azure OpenAI step and click "Connect".
  4. 4Paste the URL into "Endpoint" and the key into "API Key", then save the connection.
Connection fieldTypeRequired
EndpointTextYes
API KeySecret keyYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Ask GPT: in "Deployment Name" enter the exact name of your Azure deployment (not the model name).
  • In "Question" combine fixed text with data mapped from earlier steps, for example "Summarize this email:" followed by the message body.
  • Set "Maximum Tokens" for the answer length you need and "Temperature" to control creativity (lower values give steadier answers).
  • Use "Roles" to set system instructions and "Memory Key" if you want to keep context across runs.

Tips

  • •Ask for a specific output format (such as JSON) so later steps can process it easily.
  • •Take advantage of flooows' anonymization of confidential data before sending sensitive information to AI.
  • •For calls not covered by Ask GPT, use Custom API Call.

Actions (2)

Operations available as flow steps. Expand each one to see its fields.

Ask GPT9 fields
FieldTypeRequired
Deployment NameTextYes
QuestionLong textYes
TemperatureNumberNo
Maximum TokensNumberYes
Top PNumberNo
Frequency penaltyNumberNo
Presence penaltyNumberNo
Memory KeyTextNo
RolesJSONNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

DeploymentNotFound

Check that "Deployment Name" matches the deployment name in Azure.

401 Unauthorized

The key or endpoint is wrong or the key was regenerated; update the connection.

429 Too Many Requests

You exceeded the deployment quota; add retries with a wait or raise capacity in Azure.

Answer cut off

Increase "Maximum Tokens".

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps