Trying to do the following:
Customer sends either an email or fills in an MS Form to place a Sales Order, we will be going towards using power pages in the future
Email:
-- Created the queue etc no problem but the power automate flow is not working.
From the email, we just want the order to be created against the contact or the account, not interested in some fields as we'll manually enter that once the order is placed. We have a flow that sends a message via teams as the last step in the flow.
All the information in the body of the email will be put in the 'Description' field of the order
Firstly can this be done?
Please see the following screenshots of the flow and errors:
Firstly, the following are required so I've tried to make them enter default values
Currency
Name - Using Subject
Price List (PriceLists)
This is what I want if possible:
'Currency' field: To be set with the default which is 'US Dollar'
Price List field: I want it to default to 'Automated Sales List' which is a price list we have
I created an expression
addProperty(variables('PriceLevelId'), item(), variables('Automated Sales Order'))
but it came back wit the following error:
Request to XRM API failed with error: 'Message: Flow client error returned with status code /BadRequest/ and details /{/error/:{/code/:/InvalidOpenApiFlow/,/message/:/Flow save failed with code 'InvalidVariableOperation' and message 'The inputs of workflow run action 'Create a record (don't rename this step)' of type 'OpenApiConnection' are not valid. The variable 'PriceLevelId' must be initialized before it can be used inside action 'Create a record (don't rename this step)'.'./}}/. Code: 0x80060467 InnerError: '.
Any ideas or suggestions
Regards
Rachel