Learning a user's style/tone

Hi - I was talking to a prospect about a blog generator and using it for marketing. They commented that they really liked Chat GPT because “it learned them” and could produce blogs as they would write them. If I do a questionnaire and collect information about how the user “thinks”, could that be saved as a fixed variable that would be applied to all blog posts which she creates? I wouldn’t want to re-create that information in the user input for each run. - thanks

Hi @Mike0711,

Great question!

User Variables should be helpful in this case. You can store either user comments or generated summaries in these variables, then reference them in prompts to help your AI Agent match the user’s tone of voice.

Here’s a quick video overview:

Is “user variables” a block we can add to the flow? I didn’t see it in the list.

Hi @Mike0711,

User variables aren’t a block, but a type of variable you can use in your workflow. Here’s a quick overview:

  • {{variable}} - exists only within a single Run and resets with each new Run
  • {{global.variable}} - persists across Runs, useful for things like tracking website changes (e.g. saving scraped HTML on day 1 and comparing it on day 2)
  • {{user.variable}} - also persists across Runs, but it’s tied to individual users, which makes it great for customizing the experience per user

To use a user variable, just prefix it with user. like this: user.YourVariableName

Also, make sure to check out the video I shared in my last message, it walks through this in more detail.