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

AI Builder flow

(0) ShareShare
ReportReport
Posted on by 10

Hi, 

 

I am trying to create a flow that pulls data from pdfs from the email inbox and then updates an sql database with the pulled data.

I created a document processing AI model that pulls the necessary data from the pds files. I am not sure which elements I should use to create the proper flow.

 

So far I have:

-When an email arrives in a shared mailbox (V2)

-Apply to each

       -Condition: subject contains "specific word"

       -if yes: use the AI model (This is where I am getting stuck)

 

I have attached a screenshot of what I have so far for he flow.

Thank you

Categories:
I have the same question (0)
  • Verified answer
    Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @mkurup12 .

    Please go through the below screenshots as I will elaborate what I've done in the steps:-

    1. Condition to check subject as you used in your flow

    Amit_Sharma_0-1670840968542.png

     

    2. Iterating on Attachments which arrives in mail inbox.

    3. After that used Get Attachments action where we are getting all the attachments.

    4. In the Extract information from documents action enter the output of Get Attachment Action in Form Field.

    Amit_Sharma_1-1670841230052.png

    Now for confirming if you are getting the values from the pdf you can use a Compose Action to see the output.

    Here is the screenshot for full Flow:-

    Amit_Sharma_2-1670841309624.png

    After this I guess you are good to go.

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark post as Solved.
    If you like my response, please give it a Thumbs Up.

     

    Best Regards,

    Amit Sharma

  • mkurup12 Profile Picture
    10 on at

    Thank you so much @Amit_Sharma!!

    Do you know if there is a step that I would be able to add to update an sql database with the information extracted from the emails?

     

    Thank you

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Yes, It is possible. You have to create connection with SQL server. After this you can add SQL Action Update a Row (V2)  where you can enter Table name and row id and would be able to update by the data extracted from Mail.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard