AI Workflows​A​I ​Workflows

Available on: Open Source EditionEnterprise EditionCloud1.0.0

Build AI workflows with your preferred LLM.

Kestra provides plugins for multiple LLM providers and continues to add more with each release. You can design flows that use your chosen model and seamlessly integrate AI into orchestration workflows.

AI workflows

The following examples demonstrate Kestra AI plugins for a variety of workflows. You can adapt each example to your chosen provider. Three key properties are important to understand:

  • type: Defines the LLM provider plugin and task (e.g., ChatCompletion with OpenAI).
  • apiKey: Access key for the provider – store this as a key-value pair in Kestra Open Source or as a secret in Enterprise Edition.
  • model: Specifies the provider model. Models vary in performance, cost, and capabilities, so choose the one that best fits your use case.

Different provider plugins may include additional properties beyond those shown in the examples. Refer to each plugin’s documentation for a complete list. Common properties to be aware of include prompt, messages, jsonResponseSchema, to name a few.

Check the weather is suitable for sports every day using Gemini
Create tasks with natural language prompts using DeepSeek and Todoist
Generate an image with OpenAI with human approval
Summarize Git commits from the past week using Ollama

Was this page helpful?