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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Suggested prompt forma...
Copilot Studio
Unanswered

Suggested prompt formatting for custom agent in Copilot Studio

(1) ShareShare
ReportReport
Posted on by 30

Hello community,

I'm working on a custom agent in Copilot Studio and trying to add suggested prompts that include placeholders—similar to what’s shown in the image below.

I've tried using [text], [text](), and {text}, but they all display literally without formatting. Has anyone figured out how to make placeholders work properly in suggested prompts?

Any guidance, docuementation or examples would be greatly appreciated!

 

Thank you in advance.

 
Categories:
I have the same question (1)
  • Michael E. Gernaey Profile Picture
    53,978 Moderator on at
     
    My sincere apologies as my brain is not connecting the dots on this one :-)
     
    If it's just a placeholder, how do you plan on populating it with a real value as if it were a parameter.
     
    As of right now there is no specific OOB way to do what you are asking.
     
    Essentially the only way would be via dynamic prompt creation but that would not be what I believe you area asking about, unless you direct them to one immediately upon them connecting to the conversational agent to use variables etc to generate these.
     
    I hope I am on the track of what you are looking for.
     
     
  • GT13 Profile Picture
    45 on at
     
    As @Michael E. Gernaey suggested, there is no OOB solution to achieve what you're seeing in Copilot Prompt Gallery. You could create the prompts and include the placeholders for the users to edit before hitting the send button - example: Send an email to <email address>
     
    Another way you could achieve this is by creating topics to be triggered by each suggested prompt (example: "Send an email"), and have the agent collect the placeholder values via an adaptive card and have the adaptive card submit button send the prompt text or perform the action.
    {
        "type": "AdaptiveCard",
        "version": "1.5",
        "body": [
            {
                "type": "Input.Text",
                "placeholder": "Enter email address here",
                "label": "Who should I email?"
            }
        ],
        "actions": [
            {
                "type": "Action.Submit",
                "title": "Submit",
                "data": "Send an email to John_Doe@example.com"
            }
        ],
        "$schema": "https://adaptivecards.io/schemas/adaptive-card.json"
    }
     
    Hope this helps :)
     
    Best,
    GT
  • Michael E. Gernaey Profile Picture
    53,978 Moderator on at
     
    Any updates on this?
  • KK-29091652-0 Profile Picture
    30 on at
     
    Since there is no out-of-the-box way to do this, I think creating topics as suggested by  sound like a good idea. This solution works well for us.
     
    Thank you very much for your help.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 846

#2
Vish WR Profile Picture

Vish WR 302

#3
Haque Profile Picture

Haque 258

Last 30 days Overall leaderboard