Skip to content

AI Chat ​

Sends a prompt and context to an AI service and stores the response in a named output variable.

Purpose ​

Use this task when a workflow needs to generate a dynamic, intelligent response based on user-defined input and context. It is suited for tasks such as producing summaries, generating structured content, or answering questions where the response must vary based on runtime data. The task is most effective when paired with a well-formed context block that guides the AI toward the expected type of output.

Inputs ​

FieldTypeRequiredDescription
Context WindowMulti-line TextYesBackground information provided to the AI before the prompt. Use this to describe the situation, relevant data, or any constraints the AI should be aware of.
User InputTextYesThe question or instruction sent to the AI.
Request Code OnlyCheckboxNoWhen checked, instructs the AI to return only code in its response. If the response is valid JSON it will be parsed as a structured object; otherwise it is stored as plain text.

Outputs ​

NameDescription
ResultsThe AI's response. Downstream tasks can reference this variable to consume the generated text or parsed object.

Tentech