cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JhonatanOB1993
Helper II
Helper II

Call from PowerApp to Teams

Good evening, dear ones.

An inquiry, please.

Do you know how I could assign a ticket that is created from a PowerApps app and is anchored in Teams to a collaborator in the organization?

The process is as follows, first an external person fills in some data in an app form, then this data is recorded in Sharepoint and a correlative ID code is generated, the idea is that we add a screen in PowerApp with a message and two buttons. The message would be your ID number and the name of the person who should attend you. The first button is for you to directly call the person assigned to you for care.

Cheers,

A hug!
1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @JhonatanOB1993 :

Could you tell me:

  • Do you want the user to send the ID of this record to the specified user through teams when submitting the form?

If so, you need to insert Flow in this apps,I'v made a test for your reference:

1\My data soruce:

1.JPG

2\My flow 

2.JPG

3\Add a form(Form1) control

DataSource

ListB

DefaultMode

FormMode.New

4\insert the flow

3.JPG

5\Add a button control and set it's OnSelelct property to:

SubmitForm(Form1);
Set(TheItem,Last(Sort(ListB,Modified,Ascending)));
'Button->PostamessageastheFlowbottoauser'.Run(TheItem.TargetPeople,"TicketID:"&TheItem.ID);
NewForm(Form1)

The Result:
7.JPG

8.JPG

Best Regards,

Bof

View solution in original post

3 REPLIES 3
v-bofeng-msft
Community Support
Community Support

Hi @JhonatanOB1993 :

Could you tell me:

  • Do you want the user to send the ID of this record to the specified user through teams when submitting the form?

If so, you need to insert Flow in this apps,I'v made a test for your reference:

1\My data soruce:

1.JPG

2\My flow 

2.JPG

3\Add a form(Form1) control

DataSource

ListB

DefaultMode

FormMode.New

4\insert the flow

3.JPG

5\Add a button control and set it's OnSelelct property to:

SubmitForm(Form1);
Set(TheItem,Last(Sort(ListB,Modified,Ascending)));
'Button->PostamessageastheFlowbottoauser'.Run(TheItem.TargetPeople,"TicketID:"&TheItem.ID);
NewForm(Form1)

The Result:
7.JPG

8.JPG

Best Regards,

Bof

View solution in original post

Hi, @v-bofeng-msft.

 

Thanks for your asnwer. That steps help me!

I have another question, please.

 

The scenario is when an external agent fills out the form and then ticket code is posted on team channel. If a back office clicks on tha ticket, the worker's name who will attend the ticket is returned on the agent's screen on teams app.

 

Thank you

Hi @JhonatanOB1993 :

  Sorry, I did not understand what you mean.

  I advice you to describe your needs in detail, and then consider creating a new thread for your new question.

Best Regards,

Bof

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (63,202)