Hi all,
I recently create a connector with a polling trigger with my APIs.
As follow the steps in this document Use a polling trigger for Microsoft Power Automate | Microsoft Learn
My expectation is the second polling trigger can use the timestamp from the previous polling trigger,
no duplicate records will be captured between two polling triggers.
Outputs of first trigger
API calls are working fine, the output contains the timestamp I want to use in second trigger
For the second trigger, the State parameter are still the default value (not the timestamp from first trigger) when it enters my APIs.
Any steps are missing in the configuration?
Is it possible to achieve the function I want by using the polling trigger?
Any help will be greatly appreciated!
The trigger settings
The trigger response and parameters in apiDefinition.swagger.json
"responses": {
"200": {
"description": "OK, Success",
"schema": {
"type": "object",
"properties": {
"Code": {
"type": "integer",
"format": "int32",
"description": "Code"
},
"State": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Timestamp": {
"type": "string",
"description": "Timestamp"
}
}
}
}
}
}
}
} "parameters": [
{
"name": "State",
"in": "query",
"required": true,
"type": "string",
"default": "new",
"x-ms-visibility": "internal",
"x-ms-trigger-value": {
"value-collection": "State",
"value-path": "Timestamp"
}
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"x-ms-dynamic-properties": {
"operationId": "TriggerLeadsTextbox",
"itemValuePath": "Schema",
"parameters": {
"isUpdate": {
"value": false
}
}
}
}
}
]

Report
All responses (
Answers (