cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
P_SA
Helper V
Helper V

Wrtie data into CDS using Power Automate

Hello, I am working with a flow which is triggered with a Power virtual agent. Below is snapshot of the flow. 

P_SA_0-1602654827232.png

in the initialise variable step, below is the output.

{
"text":"abc@abc.com",
"text_1":"12PM",
"text_2":"Banashankari"
}

 

I want to save this data into my CDS entity fields. Example below.

 

Email : abc@abc.com

Slot : 12PM

Location : Banashakari.

 

How can I achieve this?

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @P_SA 

 

What is the variable data type? Is it string or Object? Where are you getting the data from for the variable? 

 

If it is coming from the trigger, you can directly add a Create a Record action from the Common Data Service Current Environment connector and then select the entity and select the data for the fields from the dynamic selector itself. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

Hi @P_SA 

 

What is the variable data type? Is it string or Object? Where are you getting the data from for the variable? 

 

If it is coming from the trigger, you can directly add a Create a Record action from the Common Data Service Current Environment connector and then select the entity and select the data for the fields from the dynamic selector itself. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Thanks @yashag2255  . I got this working...  Cheers

yashag2255
Dual Super User II
Dual Super User II

Hi @P_SA 

 

Glad that it is working. If this issue is resolved, please mark the response that helped you as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,559)