{"id":226,"date":"2021-01-20T14:04:56","date_gmt":"2021-01-20T14:04:56","guid":{"rendered":"http:\/\/167.71.55.215\/?page_id=226"},"modified":"2023-11-10T14:39:36","modified_gmt":"2023-11-10T14:39:36","slug":"using-logic-apps","status":"publish","type":"page","link":"https:\/\/info.documotor.com\/?page_id=226","title":{"rendered":"Using Logic Apps"},"content":{"rendered":"\n<p>To use DocuMotor&nbsp;in a logic app, you need to add a &#8216;Http&#8217; step in your Logic Designer, to invoke the DocuMotor&nbsp;Rest API.<\/p>\n\n\n\n<p>It can be configured as such:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"607\" height=\"588\" src=\"https:\/\/info.documotor.com\/wp-content\/uploads\/2023\/11\/image-6.png\" alt=\"\" class=\"wp-image-5645\" srcset=\"https:\/\/info.documotor.com\/wp-content\/uploads\/2023\/11\/image-6.png 607w, https:\/\/info.documotor.com\/wp-content\/uploads\/2023\/11\/image-6-300x291.png 300w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/figure>\n\n\n\n<p>The steps to find these values can be found under the Unit administration guide under 2. section &#8216;<a href=\"https:\/\/info.documotor.com\/?page_id=736#section_1\" data-type=\"URL\" data-id=\"https:\/\/info.documotor.com\/?page_id=736#section_1\">API Secret<\/a>&#8216; <\/p>\n\n\n\n<p>In the sample above, we have created a trigger that runs once every day. The next step is pure JSON that is being used as Dynamic Content. The &#8216;Parse JSON&#8217; step is where your own custom logic should come into play.<\/p>\n\n\n\n<p>In the following steps, the data from DocuMotor&nbsp;will be available in the &#8216;Content&#8217; Dynamic Content of the HTTP Step.<\/p>\n\n\n\n<div class=\"wp-container-1 wp-block-buttons\">\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link\" href=\"https:\/\/info.documotor.com\/?page_id=224\">&lt; Previous<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To use DocuMotor&nbsp;in a logic app, you need to add a &#8216;Http&#8217; step in your Logic Designer, to invoke the DocuMotor&nbsp;Rest API. It can be configured as such: The steps to find these values can be found under the Unit administration guide under 2. section &#8216;API Secret&#8216; In the sample above, we have created a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":108,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"templates\/template-full-width.php","meta":[],"_links":{"self":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/226"}],"collection":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=226"}],"version-history":[{"count":16,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/226\/revisions"}],"predecessor-version":[{"id":5646,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/226\/revisions\/5646"}],"up":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/108"}],"wp:attachment":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}