Every variable has a scope that determines where and when your bot can access it.Try restarting the conversation. Select in the Emulator, then send a message:
That’s not ideal—the bot asked for our name again, even though we already told it in a previous conversation.This is because firstName is a Workflow variable—it keeps the same value for the current Workflow, then resets when the Workflow is done its execution. Since each new conversation re-executes the Main Workflow, the value resets every time.
Newly-created variables have the Workflow scope by default.