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 / Power Automate / loop through a part of...
Power Automate
Unanswered

loop through a part of a custom connector

(0) ShareShare
ReportReport
Posted on by 4

I came across a question hope could articulate it well in this post.

From the screenshot it is a custom connector to post transaction. 

The transaction came with two type of lines:

header line i.e. customer name, date etc.  -> once, via a excel table 1

transaction line i.e.  account code, amount, description etc. -> loop through excel table 2 with minimum of 2 lines

 

Previously the flow was working for static number of transaction line. But I came to realize it is common in real life to have multiple lines. 

Question is how to construct the custom connector so it takes the header line once and able to have a 'apply to each' type of execution for the transaction line?

 

I have a vague feeling this will happen within the connector instead of the actual flow. Somehow to convert the string input for transaction line to array so the post is still one piece. Do you think it is the right starting point?

 

Documentation for connection: 

https://developer.xero.com/documentation/api/accounting/manualjournals#post-manualjournals

 

Screenshot 2023-07-30 124158.jpg
Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard