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 Platform Community / Forums / Power Automate / Problem trying to mix ...
Power Automate
Unanswered

Problem trying to mix up dynamic fields with dynamic schema

(0) ShareShare
ReportReport
Posted on by

I'm trying for days to build an operation mixing dynamic fields and schema.

The operation has 2 static fields: subject and description. Then it has a field called template, this field is tied with a dynamic value tag and it's working fine, I'm able to fetch the values from my API.

Now it's the hard part when the template is selected I would like to add dynamic fields to the operation. The API is ready, but the request never goes to the API.

 

Does anyone have any example of how to do this? The official Power Automate documentation is really poor in this regard. This is what I have today:

 

This operation is used to fetch the dynamic values for the field template.

 

 

"/v1/integration/power-automate/templates/summaries": {
 "get": {
 "x-ms-visibility": "internal",
 "responses": {
 "200": {
 "description": "OK",
 "schema": {
 "type": "object",
 "required": [
 "summaries"
 ],
 "properties": {
 "summaries": {
 "type": "array",
 "items": {
 "type": "object",
 "required": [
 "id",
 "name"
 ],
 "properties": {
 "id": {
 "type": "string"
 },
 "name": {
 "type": "string"
 }
 }
 }
 }
 }
 }
 },
 "default": {
 "description": "Operation Failed."
 }
 },
 "summary": "List the template summaries",
 "description": "List the current user template summaries.",
 "operationId": "templateSummary",
 "parameters": []
 }
}

 

 

 

 This is my the actual part that I'm having problems:

 

 

"/v1/integration/power-automate/signature-requests": {
 "post": {
 "consumes": [
 "application/json"
 ],
 "tags": [
 "Actions"
 ],
 "responses": {
 "200": {
 "description": "OK"
 },
 "default": {
 "description": "Operation Failed."
 }
 },
 "summary": "Request Signature Using a Template",
 "description": "Send a request signature using a template.",
 "operationId": "signatureRequest",
 "parameters": [
 {
 "in": "body",
 "name": "request",
 "description": "The signature request entity.",
 "schema": {
 "type": "object",
 "required": [
 "subject",
 "description",
 "template"
 ],
 "properties": {
 "subject": {
 "type": "string",
 "description": "Subject line of the email notification."
 },
 "description": {
 "type": "string",
 "description": "Message included in the email notification."
 },
 "template": {
 "type": "string",
 "description": "Use this option to select the template to be used for the signature request.",
 "x-ms-dynamic-values": {
 "operationId": "templateSummary",
 "value-path": "id",
 "value-title": "name",
 "value-collection": "summaries",
 "parameters": {}
 }
 }
 },
 "x-ms-dynamic-schema": {
 "operationId": "signatureRequestSchema",
 "parameters": {
 "id": {
 "parameter": "template"
 }
 },
 "value-path": "fields"
 },
 "x-ms-dynamic-properties": {
 "operationId": "signatureRequestSchema",
 "parameters": {
 "id": {
 "parameterReference": "request/template"
 }
 },
 "itemValuePath": "fields"
 }
 }
 }
 ]
 }
}

 

 

 

This is the field definition:

 

 

"field": {
 "type": "object",
 "properties": {
 "key": {
 "type": "string",
 "x-ms-summary": "key"
 },
 "name": {
 "type": "string",
 "x-ms-summary": "name"
 }
 }
}

 

 

Categories:
I have the same question (0)

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
David_MA Profile Picture

David_MA 265 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

#3
trice602 Profile Picture

trice602 202 Super User 2025 Season 2

Last 30 days Overall leaderboard