How do I reference inputs?

Create and reference input variables with Liquid

To create and reference variables:

  1. Click add field in the Start step
  2. Name your input in the Label field
  3. Note the Variable Name beneath the Label field. You will use this in the LLM step.
  4. Click Save field in the Start step
  5. Add an LLM step to the workflow
  6. Configure the System prompt
    1. Generally, tell the AI who it is and what it's supposed to do
    2. E.g. If it's a support ticket classifier, tell it to analyze the user's review and return a ticket category
  7. Configure the User prompt
    1. Provide more specific instructions about your specific use case
    2. Click on the pill of the input variable to refer to the data you will provide to the LLM
Click on the pill beneath the field to refer to your input variable

Click on the pill beneath the field to refer to your input variable


What’s Next

Learn how to reference output variables