node-red-contrib-opentext
Version:
node-red-contrib-opentext - An Opentext Core client
61 lines (52 loc) • 2.06 kB
HTML
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/html" data-help-name="sign">
<p>An Opentext Core Signature sign node which sends an email to the email receiver with Core signature request email as output.</p>
<h2 id="inputs">Inputs</h2>
<p>Any message to trigger producing an Core Signature email.</p>
<h4 id="container">Container</h4>
<p>The name of the container that will receive the message coreSignatureSignRequest object.</p>
<p><code>p.s. msg.payload.coreSignatureSignRequest object</code></p>
<h4 id="grant-type">Authorisation from otdsauth</h4>
<ul><li><strong>msg.payload.access_token</strong></li></ul>
<ul><li><code>- Set by msg.ot2authRequest -</code></li></ul>
<h4 id="grant-type">Document from Core Signature upload</h4>
<ul><li><strong>msg.payload.url</strong></li></ul>
<ul><li><code>- Set by msg.coreSignatureUploadRequest -</code></li></ul>
<h4 id="grant-type">Variables</h4>
<p><strong>email:</strong></p>
<pre><code>
from_name
from_email
to_name
to_email
subject
message
</code></pre>
<p><strong>input:</strong> </p>
<p><code>Mail settings</code></p>
<pre><code>
msg.coreSignatureSignRequest = {
"base_url": "https://sign.core.opentext.eu",
"email": {
"from_name": "OpenText Core",
"from_email": "no_reply@opentextcore.com",
"to_name": "OpenText Core",
"to_email": "john.doe@opentextcore.com",
"subject": "Please Sign ",
"message": "hello ",
}
};
return msg;
</code></pre>
</script>