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

Invoke Web Service

(0) ShareShare
ReportReport
Posted on by 6

I am trying to get the fields and values from a text which is extracted from a sample invoice. When entered the same in Request body of invoke web service action it is saying Syntax error below is the text

 

Invoice
Payment is due within 30 days from date of invoice. Late payment is subject to fees of 5% per month.
Thanks for choosing DEMO - Sliced Invoices | admin@slicedinvoices.com
Page 1/1
From:
DEMO - Sliced Invoices
Suite 5A-1204
123 Somewhere Street
Your City AZ 12345
admin@slicedinvoices.com
Invoice Number INV-3337
Order Number 12345
Invoice Date January 25, 2016
Due Date January 31, 2016
Total Due $93.50
To:
Test Business
123 Somewhere St
Melbourne, VIC 3000
test@test.com
Hrs/Qty Service Rate/Price Adjust Sub Total
1.00 Web Design
This is a sample description... $85.00 0.00% $85.00
Sub Total $85.00
Tax $8.50
Total $93.50
ANZ Bank
ACC # 1234 1234
BSB # 4321 432 Paid

 

 

Kindly let me know what is the issue

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Sasikanth 

     

    Are you trying to add complete text in the invoke web service ?

     

  • Sasikanth Profile Picture
    6 on at

    Yes @Nived_Nambiar ...I am reading an invoice into text variable and passing that variable in invoke web service body

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Sasikanth 

     

    could u show how you are passing the variable in invoke webservice actions ?

     

  • Sasikanth Profile Picture
    6 on at

    {
    "model": "text-davinci-003",
    "prompt": "%TrimmedText%",
    "max_tokens": 3000,
    "temperature": 0,
    "top_p": 1,
    "n": 1,
    "stream": false,
    "logprobs": null,

    "stop": null
    }

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Sasikanth 

     

    could u confirm whether you have disabled this option ?

     

    Nived_Nambiar_0-1683647308804.png

     

     

  • Sasikanth Profile Picture
    6 on at

    Yes i have disabled the encode request body option already and tried and facing the error

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 245

#2
David_MA Profile Picture

David_MA 216 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 212

Last 30 days Overall leaderboard