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 Apps / Capturing Signature an...
Power Apps
Answered

Capturing Signature and passing ID with PowerApps and Power Automate

(0) ShareShare
ReportReport
Posted on by 32

Hello,

 

I am building an app for material tracking that I need to be able to capture signatures. I would like to add the signature as an attachment to my "Orders" SharePoint list. The column that is my main reference is the TicketNumber column. 

 

Orders are created before the signature is captured, so all attachments would be to existing items but variable to the TicketNumber. I am able to pass the TicketNumber to Power Automate but unable to get the attachment to add to the item. 

 

Below are screen shots

 

flow1.png

submitsig2.png

submitsig1.png

passingVarRecord.png

Thank you for any help you may be able to provide.

Categories:
I have the same question (0)
  • Verified answer
    VeGETzX Profile Picture
    367 on at

    Try to send varRecord.ID instead of TicketNumber to the flow and use it as Id in the 'Add attachment' action. 

     

    I do recommend using Power Apps V2 trigger for the flow, it's much easier to use and maintain. (You can just remove that Power Apps trigger on the flow and then replace with V2 trigger. 

  • jrybachek Profile Picture
    32 on at

    Now I am getting an error in Power Apps where the input is text and it's expecting a record. 

    jrybachek_0-1656083051744.png

    jrybachek_1-1656083125391.png

     

  • VeGETzX Profile Picture
    367 on at

    You can receive the ID as number in your flow trigger, So you can place that ID directly in Add attachment action, No need to initialize variable.

     

    Then, for the Signature Image, If you have already done converting it  into Base64 in Power Apps. You can send it to Power Automate as text.

     

    In short, Your flow should remain almost the same except using ID instead of TicketNumber for an Id for Add attachment.

     

    OR You can follow my try:

     

    First, your flow will accept 2 input

    1. Signature (as File)
    2. ID (as Number)

     

    Next, follow this picture

    VeGETzX_0-1656084104108.png

     

     

    Finally, the Flow run code (In Power Apps)

    Flow.Run(
     {
     contentBytes: PenInput1.Image,
     name: "Signature_" & varRecord.TicketNumber & ".jpg"
     },
     varRecord.ID
    )

     

  • jrybachek Profile Picture
    32 on at

    Thank got it! Thank you!

  • VeGETzX Profile Picture
    367 on at

    You're welcome. I also update my reply with (may be) a better solution. You can try that too 😀

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard