Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Getting a customer account details from Fin Ops using a flow

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone,

 

First time posting so I'm hoping someone can help 🙂
I am setting up a Power Virtual Agent Chat Bot for internal use. I want to be able to request a customer account number and Power Automate to then go and search D365 Fin Ops to find that Account Number and give me back the Customer name.

I have two issues;

 

1) It throws out an error even if the account number is correct.

2) When typing in the account number it removes any leading zeros which effectively changes the account number

 

MonkeyAb_0-1669643057096.png

MonkeyAb_1-1669643147323.png

MonkeyAb_2-1669643231709.png

 

original account number that was being searched was 004001

  • MonkeyAb Profile Picture
    5 on at
    Re: Getting a customer account details from Fin Ops using a flow

    Thanks Taylor.

     

    So I found out my issue for error 1 was simply having a space when it shouldn't (amateur I know)
    And you were right, I changed it to string and it maintained the format of the number without removing leading zero's.

  • Verified answer
    TaylorBecktold Profile Picture
    295 on at
    Re: Getting a customer account details from Fin Ops using a flow

    Hey @MonkeyAb -

     

    I believe I can assist with issue #2, but this might fix issue #1 as well.

     

    I recommend passing the account number as a string instead of a number. It is removing the leading numbers due to it assuming that is an integer value and integers typically do not have leading 0s. 

     

    Did my reply help? Please give it a thumbs up.
    Did my reply answer your question? Please mark it as a solution!
    If you liked my response, please consider giving it a thumbs up.

    Check out my blog: https://azwhizkid.com/

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow