0

I have been following tutorials on triggering a flow from a SharePoint site design. Based on sitedesigner.io and Azure automation provisioning it seems you can configure the triggerFlow action to pass parameters to Flow.

Using the following triggerFlow action, I'm attempting to pass the "fileName" property to Flow.

{
    "verb": "triggerFlow",
    "url": "XXXX",
    "name": "Apply Template",
    "parameters": {
        "fileName": "portal-2-template.xml"
    }
}

My flow is triggered When a HTTP request is received and is using the following Request Body Schema:

{
    "type": "object",
    "properties": {
        "webUrl": {
            "type": "string"
        },
        "parameters": {
            "type": "object",
            "properties": {
                "fileName": {
                    "type": "string"
                }
            }
        },
        "webDescription": {
            "type": "string"
        },
        "creatorName": {
            "type": "string"
        },
        "creatorEmail": {
            "type": "string"
        },
        "createdTimeUTC": {
            "type": "string"
        }
    }
}

However, whenever I create a new site based on my site script, although the flow is triggered correctly, the parameters are never received by Flow.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.