web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Save output of a gener...
Copilot Studio
Suggested Answer

Save output of a generative Step into a variable

(1) ShareShare
ReportReport
Posted on by
Hi , 

I’ve configured a custom topic within Copilot Studio that includes a “Create generative answer” step. In the Advanced settings of this step, I specified that the output should be stored in a variable named BotResponse. Subsequently, this variable is passed as input to a custom Action to further process the generated response.

However, the issue is that the BotResponse variable is not being populated by the Create generative answer step as expected. When the variable is passed to the Action, it contains a null value, indicating that the output was not stored correctly.

 
Image 1:
Image 2:
 
 
I have the same question (0)
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,174 Super User 2025 Season 2 on at
    hello, yes, it s because the documentation didn't say : if you check "send message", the variable will be "null"

    Uncheck "send message", and then the variable will containt the result, you can then send message manually with action send message (or not if dont want too)

    it s quiet surprising and make same mistake at first :)

    if it help please check the box answer is the good one :) it s important :)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 270 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 181 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard