Flow Document

JSON Schema:

{
    "type": "object",
    "properties": {
        "sharepoint": {
            "type": "object",
            "properties": {
                "siteHost": {
                    "type": "string"
                },
                "siteName": {
                    "type": "string"
                },
                "siteUrl": {
                    "type": "string"
                },
                "libraryName": {
                    "type": "string"
                },
                "folderPath": {
                    "type": "string"
                },
                "siteId": {
                    "type": "string"
                },
                "driveId": {
                    "type": "string"
                }
            }
        },
        "fileName": {
            "type": "string"
        },
        "fileFormat": {
            "type": "string"
        },
        "templateName": {
            "type": "string"
        },
        "activityId": {
            "type": "string"
        },
        "activityType": {
            "type": "string"
        },
        "toId": {
            "type": "string"
        },
        "toType": {
            "type": "string"
        },
        "regardingObjectId": {
            "type": "string"
        },
        "regardingObjectType": {
            "type": "string"
        },
        "currentUserId": {
            "type": "string"
        },
        "currentUserType": {
            "type": "string"
        },
        "templateLocation": {
            "type": "string"
        }
    }
}

Additional you can define extra parameters on the Document Action which will be added automatically to the trigger data of the flow.

Flow MailMerge

JSON Schema:

{
    "type": "object",
    "properties": {
        "EntityIds": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "EntityType": {
            "type": "string"
        },
        "ParentEntityType": {
            "type": [
                "string",
                "null"
            ]
        },
        "ParentEntityId": {
            "type": [
                "string",
                "null"
            ]
        },
        "SplitSize": {
            "type": "integer"
        },
        "CurrentUserId": {
            "type": "string"
        },
        "Lcid": {
            "type": [
                "number",
                "null"
            ]
        },
        "SharepointSiteUrl": {
            "type": "string"
        },
        "TemplateLocation": {
            "type": [
                "string",
                "null"
            ],
            "title": "TemplateLocation",
            "description": "TemplateLocation"
        },
        "TemplateContent": {
            "type": [
                "string",
                "null"
            ],
            "title": "TemplateContent",
            "description": "TemplateContent"
        },
        "TemplateInfo": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "title": "Template ID",
                    "description": "Template ID"
                },
                "name": {
                    "type": "string",
                    "title": "Template Name",
                    "description": "Template Name"
                }
            }
        },
        "DocumentActivityCreate": {
            "type": "boolean",
            "title": "DocumentActivity Needed",
            "description": "DocumentActivity Needed"
        },
        "DocumentActivitySubject": {
            "type": [
                "string",
                "null"
            ],
            "title": "DocumentActivity Subject",
            "description": "DocumentActivity Subject"
        },
        "DocumentActivityFileName": {
            "type": [
                "string",
                "null"
            ],
            "title": "DocumentActivity FileName",
            "description": "DocumentActivity FileName"
        },
        "DocumentActivityDate": {
            "type": [
                "string",
                "null"
            ],
            "title": "DocumentActivityDate",
            "description": "DocumentActivity Date"
        },
        "DocumentActivityRegarding": {
            "type": [
                "object",
                "null"
            ],
            "properties": {
                "id": {
                    "type": "string",
                    "title": "DocumentActivity Regarding ID",
                    "description": "DocumentActivity Regarding ID"
                },
                "entityType": {
                    "type": "string",
                    "title": "DocumentActivity Regarding Type",
                    "description": "DocumentActivity Regarding Type"
                }
            }
        },
        "DocumentActivityOwner": {
            "type": [
                "object",
                "null"
            ],
            "properties": {
                "id": {
                    "type": "string",
                    "title": "DocumentActivity Owner ID",
                    "description": "DocumentActivity Owner ID"
                },
                "entityType": {
                    "type": "string",
                    "title": "DocumentActivity Owner Type",
                    "description": "DocumentActivity Owner Type"
                }
            }
        },
        "DocumentActivitySecurityGroups": {
            "type": "array",
            "items": {
                "type": "string"
            }
        }
    }
}

Additional you can define extra parameters on the Document Action which will be added automatically to the trigger data of the flow.