Skip to content

Bot memory: Set memory and Get memory

Video coming soon — step-by-step guide below

Store user data between conversations and use it in later sessions.

What you need

  • A scenario that collects data (e.g. a questionnaire)

Steps

  1. After collecting data add Set memory and list the fields: name, city, plan.
  2. In a new conversation (e.g. after /start) add Get memory: the fields become variables.
  3. Use a Condition to check whether data exists and greet the user by name.

Resulting scenario

Set memory {name, city}
…next conversation…
Get memory -> Condition "#node.30.name" -> Screen "Welcome back, #node.30.name!"

Learn more