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 / Trigger action from Po...
Power Automate
Answered

Trigger action from PowerApps

(0) ShareShare
ReportReport
Posted on by 3,295

Hi there,

 

Quick question looking for some advice,

 

I have my powerapp button that start my flow, which is basically send to flow my customer ID form a Share Point list.

LIPCreateExcelFile.Run(LblretrievecustomerID.Text)

 

If I test my flow with the option I'll perform the trigger action, I have as a result two boxes to manually input my customerID

Capture2.PNG

 

And for instance I have a customerID = 19, I type the number in both fields and the flow runs OK.

 

But, when I try to run the flow form the PowerApps, I get an error

 

And this is the error Details:

Unable to process template language expressions in action 'Create_XLSX_document_from_template' inputs at line '1' and column '2231': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_plumsail']['connectionId']' cannot be evaluated because property 'shared_plumsail' doesn't exist, available properties are 'shared_sharepointonline'. Please see https://aka.ms/logicexpressions for usage details.'.

 

Any idea?

 

thanks in advance

 

Capture.PNG

 

 

Categories:
  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    The pictures, the code and the descriptions don't really match.  Your run () command shows only one parameter, but when you test you have two boxes. That would be two parameters. And the screenshot of the flow only shows one parameter in use.  I suspect you've added new parameters after originally adding the flow to power apps.  Make sure to remove the flow and re-add it so that it requests both parameters.  That should also make sure it sets up both connections.  That's the error you are currently getting, saying that the Plumsail connection doesn't exist.  But it must have at one time.

  • Sajarac Profile Picture
    3,295 on at

    Hi there,

     

    Thank you very much for your prompt response,

     

    I just did some changes and you know what triggers the flow?

     

    LIPCreateExcelFileV2.Run(LblretrievecustomerID.Text,LblretrievecustomerID.Text)

     

    So I am assuming this double request is to fill the two boxes "fields" in the flow.

     

    I have no explanation but is working now.

     

    thank you!

     

     

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    As I said, if you create two requests for information in the flow then you have to supply two parameters. That's why its working now.

  • Sajarac Profile Picture
    3,295 on at

    Yes, but now when I start the app I am getting this popup error.

     

    Capture.PNG

     

    Any idea?

     
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    The query is going to be a string and that looks like what you are passing.  Knowing that its an OData query I would make sure that you are using all single quotes, etc. OData can be pretty picky.

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
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard