Skip to main content

I am wondering why, in the 'Add a Flow to Your Prompt Template' module, specifically in the Flow, we need to create those two single record variables that we make available for input. It doesn't seem like we leverage or store anything inside of them.  Could anyone explain why these two variables are crucial?    The two single record variables in questions are:  - Experience  - Reservation    Thanks in advance!   

3 answers
  1. Feb 26, 2025, 7:33 PM

    Hi @Christopher Burt

     

     

    I am from the Trailhead Help team.  

     

    Simply put, the two record variables are designed to receive input from the user. Once the input is captured, it is passed to the prompt template, where the data is processed.

    In the "Build a Flex Prompt Template" unit, the input is taken directly from the prompt, and flow is not used. 

     

     However, in the "Add a Flow to Your Prompt Template" unit, we incorporate the flow, which is why the record-type variables come into play. 

     

    I hope this explanation clarifies things for you!

0/9000