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 / Using a variable as a ...
Copilot Studio
Answered

Using a variable as a phone number on a Basic Card

(0) ShareShare
ReportReport
Posted on by 3

Hi,

 

I have a copilot that currently builds into my Teams and I'm looking to get it to provide phone numbers for users that are being requested, so that the users can then quickly press the number and it will call them in Teams.

 

Basic flow is:

- User asks for a phone number for John Smith

- Copilot goes to Power Automate and gets the phone number from our database

- Copilot then provides this number to the user

 

I found within the Basic Card there was an option to make a phone call, which looks like it suits my needs, except I cannot put a variable in there unless I'm missing something (I hope I am)? Is there a workaround for this, or is this not feasible?

 

Screenshot for the field I'm referring to:

 

Capture1.PNG

Categories:
I have the same question (0)
  • Verified answer
    alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on at

    Hello @edha 

     

    You could leverage on the adaptive card and put something like

    {
      type: "AdaptiveCard",
      version: "1.5",
      body: [
        {
          type: "ActionSet",
          actions: [
            {
              type: "Action.OpenUrl",
              title: "Call",
              url: "tel:+"&Topic.Phone
            }
          ]
        }
      ]
    }
    Assuming you have a variable called Phone in your topic.
     
  • MollyH44 Profile Picture
    Microsoft Employee on at

    Hi, is there a way to do this without using the adaptive card? To my understanding the adaptive card requires you to have some kind of user input. I want to be able to show the user some dynamic card (in this case a URL) and then move on to another message afterward. But there seems to be no way to do that. Would this solution work too?

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!

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 226

#3
Arild Aarnes Profile Picture

Arild Aarnes 73 Super User 2026 Season 1

Last 30 days Overall leaderboard