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 / Power Automate / Pull the records from ...
Power Automate
Unanswered

Pull the records from excel file which located in one drive to Post JSON API

(0) ShareShare
ReportReport
Posted on by 538

Experts, I have a scenario where a Cloud Flow should be triggered automatically whenever a new Excel file is placed in the OneDrive folder. I have followed the guidelines provided, but I'm facing an issue starting from the second step.

Here are the steps I have taken so far:

  1. Initialize the first variable with the name "Posttime" and the type "Array."
  2. Initialize the second variable with the name "Tokenkey" and the type "String."
  3. Declare a variable called "Tokens" to list the rows in a specific table.
  4. Create an "Apply to each" loop to iterate through the values. Select the output from the previous steps and set the variable "Tokenkey" with the value "TokenValue."
  5. Use the HTTP action with the method "POST" and the URL "https://ok/powerapps/confirmation." Set the authorization header to the "Tokenkey" value. In the body, include the following parameters: "maintenance_order," "operation," "technician," "start_date," "start_time," "finish_date," "finish_time," "free_text," and "code."
  6. Set the second variable, "Posttime," with the value from the response.
  7. Finally, use the response with JSON code.

Please review the steps and let me know if you spot any issues or if there are any suggestions for improvement.

 Below is the flow screenshot.

AVTS_0-1686894828825.pngAVTS_1-1686894876248.pngAVTS_2-1686894919411.pngAVTS_3-1686894969698.png

 

 

While running the flow error is .

AVTS_4-1686895015428.png

Please and let me know if i am doing anything wrong .

Categories:
I have the same question (0)

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard