{"id":566,"date":"2025-08-29T12:51:35","date_gmt":"2025-08-29T12:51:35","guid":{"rendered":"https:\/\/kb.ctse.nl\/?page_id=566"},"modified":"2025-08-29T13:37:56","modified_gmt":"2025-08-29T13:37:56","slug":"flow-template-trigger-data","status":"publish","type":"page","link":"https:\/\/kb.ctse.nl\/?page_id=566","title":{"rendered":"Flow Template: Trigger input data"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Flow Document<\/h2>\n\n\n\n<p><strong>JSON Schema:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"type\": \"object\",\n    \"properties\": {\n        \"sharepoint\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"siteHost\": {\n                    \"type\": \"string\"\n                },\n                \"siteName\": {\n                    \"type\": \"string\"\n                },\n                \"siteUrl\": {\n                    \"type\": \"string\"\n                },\n                \"libraryName\": {\n                    \"type\": \"string\"\n                },\n                \"folderPath\": {\n                    \"type\": \"string\"\n                },\n                \"siteId\": {\n                    \"type\": \"string\"\n                },\n                \"driveId\": {\n                    \"type\": \"string\"\n                }\n            }\n        },\n        \"fileName\": {\n            \"type\": \"string\"\n        },\n        \"fileFormat\": {\n            \"type\": \"string\"\n        },\n        \"templateName\": {\n            \"type\": \"string\"\n        },\n        \"activityId\": {\n            \"type\": \"string\"\n        },\n        \"activityType\": {\n            \"type\": \"string\"\n        },\n        \"toId\": {\n            \"type\": \"string\"\n        },\n        \"toType\": {\n            \"type\": \"string\"\n        },\n        \"regardingObjectId\": {\n            \"type\": \"string\"\n        },\n        \"regardingObjectType\": {\n            \"type\": \"string\"\n        },\n        \"currentUserId\": {\n            \"type\": \"string\"\n        },\n        \"currentUserType\": {\n            \"type\": \"string\"\n        },\n        \"templateLocation\": {\n            \"type\": \"string\"\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p>Additional you can define extra parameters on the Document Action which will be added automatically to the trigger data of the flow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Flow MailMerge<\/h2>\n\n\n\n<p><strong>JSON Schema:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"type\": \"object\",\n    \"properties\": {\n        \"EntityIds\": {\n            \"type\": \"array\",\n            \"items\": {\n                \"type\": \"string\"\n            }\n        },\n        \"EntityType\": {\n            \"type\": \"string\"\n        },\n        \"ParentEntityType\": {\n            \"type\": &#91;\n                \"string\",\n                \"null\"\n            ]\n        },\n        \"ParentEntityId\": {\n            \"type\": &#91;\n                \"string\",\n                \"null\"\n            ]\n        },\n        \"SplitSize\": {\n            \"type\": \"integer\"\n        },\n        \"CurrentUserId\": {\n            \"type\": \"string\"\n        },\n        \"Lcid\": {\n            \"type\": &#91;\n                \"number\",\n                \"null\"\n            ]\n        },\n        \"SharepointSiteUrl\": {\n            \"type\": \"string\"\n        },\n        \"TemplateLocation\": {\n            \"type\": &#91;\n                \"string\",\n                \"null\"\n            ],\n            \"title\": \"TemplateLocation\",\n            \"description\": \"TemplateLocation\"\n        },\n        \"TemplateContent\": {\n            \"type\": &#91;\n                \"string\",\n                \"null\"\n            ],\n            \"title\": \"TemplateContent\",\n            \"description\": \"TemplateContent\"\n        },\n        \"TemplateInfo\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"id\": {\n                    \"type\": \"string\",\n                    \"title\": \"Template ID\",\n                    \"description\": \"Template ID\"\n                },\n                \"name\": {\n                    \"type\": \"string\",\n                    \"title\": \"Template Name\",\n                    \"description\": \"Template Name\"\n                }\n            }\n        },\n        \"DocumentActivityCreate\": {\n            \"type\": \"boolean\",\n            \"title\": \"DocumentActivity Needed\",\n            \"description\": \"DocumentActivity Needed\"\n        },\n        \"DocumentActivitySubject\": {\n            \"type\": &#91;\n                \"string\",\n                \"null\"\n            ],\n            \"title\": \"DocumentActivity Subject\",\n            \"description\": \"DocumentActivity Subject\"\n        },\n        \"DocumentActivityFileName\": {\n            \"type\": &#91;\n                \"string\",\n                \"null\"\n            ],\n            \"title\": \"DocumentActivity FileName\",\n            \"description\": \"DocumentActivity FileName\"\n        },\n        \"DocumentActivityDate\": {\n            \"type\": &#91;\n                \"string\",\n                \"null\"\n            ],\n            \"title\": \"DocumentActivityDate\",\n            \"description\": \"DocumentActivity Date\"\n        },\n        \"DocumentActivityRegarding\": {\n            \"type\": &#91;\n                \"object\",\n                \"null\"\n            ],\n            \"properties\": {\n                \"id\": {\n                    \"type\": \"string\",\n                    \"title\": \"DocumentActivity Regarding ID\",\n                    \"description\": \"DocumentActivity Regarding ID\"\n                },\n                \"entityType\": {\n                    \"type\": \"string\",\n                    \"title\": \"DocumentActivity Regarding Type\",\n                    \"description\": \"DocumentActivity Regarding Type\"\n                }\n            }\n        },\n        \"DocumentActivityOwner\": {\n            \"type\": &#91;\n                \"object\",\n                \"null\"\n            ],\n            \"properties\": {\n                \"id\": {\n                    \"type\": \"string\",\n                    \"title\": \"DocumentActivity Owner ID\",\n                    \"description\": \"DocumentActivity Owner ID\"\n                },\n                \"entityType\": {\n                    \"type\": \"string\",\n                    \"title\": \"DocumentActivity Owner Type\",\n                    \"description\": \"DocumentActivity Owner Type\"\n                }\n            }\n        },\n        \"DocumentActivitySecurityGroups\": {\n            \"type\": \"array\",\n            \"items\": {\n                \"type\": \"string\"\n            }\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p>Additional you can define extra parameters on the Document Action which will be added automatically to the trigger data of the flow.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flow Document JSON Schema: 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: Additional you can define extra parameters on the Document Action which will be added automatically to the trigger data of the flow.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":274,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-566","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages\/566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=566"}],"version-history":[{"count":3,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages\/566\/revisions"}],"predecessor-version":[{"id":571,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages\/566\/revisions\/571"}],"up":[{"embeddable":true,"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=\/wp\/v2\/pages\/274"}],"wp:attachment":[{"href":"https:\/\/kb.ctse.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}