To use DocuMotor in a logic app, you need to add a ‘Http’ step in your Logic Designer, to invoke the DocuMotor 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 ‘API Secret‘
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 ‘Parse JSON’ step is where your own custom logic should come into play.
In the following steps, the data from DocuMotor will be available in the ‘Content’ Dynamic Content of the HTTP Step.