Advertisement
surfing_spider

Voice Monkey - Node red flow example

Oct 23rd, 2022
1,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.61 KB | None | 0 0
  1. [
  2.     {
  3.         "id": "66a31b5874350685",
  4.         "type": "template",
  5.         "z": "ea42b334.b6a77",
  6.         "name": "Voice Monkey - Create API URL",
  7.         "field": "url",
  8.         "fieldType": "msg",
  9.         "format": "handlebars",
  10.         "syntax": "mustache",
  11.         "template": "https://api.voicemonkey.io/trigger?access_token={{{access_token}}}&secret_token={{{secret_token}}}&monkey={{{monkey}}}",
  12.         "output": "str",
  13.         "x": 750,
  14.         "y": 4620,
  15.         "wires": [
  16.             [
  17.                 "b9c082d2dc01d3ee"
  18.             ]
  19.         ]
  20.     },
  21.     {
  22.         "id": "b9c082d2dc01d3ee",
  23.         "type": "http request",
  24.         "z": "ea42b334.b6a77",
  25.         "name": "",
  26.         "method": "GET",
  27.         "ret": "txt",
  28.         "paytoqs": "ignore",
  29.         "url": "",
  30.         "tls": "",
  31.         "persist": false,
  32.         "proxy": "",
  33.         "insecureHTTPParser": false,
  34.         "authType": "",
  35.         "senderr": false,
  36.         "headers": [],
  37.         "x": 990,
  38.         "y": 4620,
  39.         "wires": [
  40.             [
  41.                 "240015988728938a",
  42.                 "ce8a2c08d5bdbb27"
  43.             ]
  44.         ]
  45.     },
  46.     {
  47.         "id": "240015988728938a",
  48.         "type": "debug",
  49.         "z": "ea42b334.b6a77",
  50.         "name": "Complete msg object",
  51.         "active": true,
  52.         "tosidebar": true,
  53.         "console": false,
  54.         "tostatus": false,
  55.         "complete": "true",
  56.         "targetType": "full",
  57.         "statusVal": "",
  58.         "statusType": "auto",
  59.         "x": 1220,
  60.         "y": 4580,
  61.         "wires": []
  62.     },
  63.     {
  64.         "id": "ce8a2c08d5bdbb27",
  65.         "type": "debug",
  66.         "z": "ea42b334.b6a77",
  67.         "name": "Sucess? ",
  68.         "active": false,
  69.         "tosidebar": true,
  70.         "console": false,
  71.         "tostatus": true,
  72.         "complete": "payload",
  73.         "targetType": "msg",
  74.         "statusVal": "headers.nel",
  75.         "statusType": "auto",
  76.         "x": 1180,
  77.         "y": 4620,
  78.         "wires": []
  79.     },
  80.     {
  81.         "id": "53c98bf8ccb4609c",
  82.         "type": "change",
  83.         "z": "ea42b334.b6a77",
  84.         "name": "Set Voice Monkey Paramenters",
  85.         "rules": [
  86.             {
  87.                 "t": "set",
  88.                 "p": "monkey",
  89.                 "pt": "msg",
  90.                 "to": "monkey",
  91.                 "tot": "str"
  92.             },
  93.             {
  94.                 "t": "set",
  95.                 "p": "access_token",
  96.                 "pt": "msg",
  97.                 "to": "ACCESS_TOKEN",
  98.                 "tot": "str"
  99.             },
  100.             {
  101.                 "t": "set",
  102.                 "p": "secret_token",
  103.                 "pt": "msg",
  104.                 "to": "SECRET_TOKEN",
  105.                 "tot": "str"
  106.             }
  107.         ],
  108.         "action": "",
  109.         "property": "",
  110.         "from": "",
  111.         "to": "",
  112.         "reg": false,
  113.         "x": 450,
  114.         "y": 4620,
  115.         "wires": [
  116.             [
  117.                 "66a31b5874350685"
  118.             ]
  119.         ]
  120.     },
  121.     {
  122.         "id": "bb61d96767a608cd",
  123.         "type": "inject",
  124.         "z": "ea42b334.b6a77",
  125.         "name": "trigger",
  126.         "props": [
  127.             {
  128.                 "p": "payload"
  129.             },
  130.             {
  131.                 "p": "topic",
  132.                 "vt": "str"
  133.             }
  134.         ],
  135.         "repeat": "",
  136.         "crontab": "",
  137.         "once": false,
  138.         "onceDelay": 0.1,
  139.         "topic": "",
  140.         "payload": "",
  141.         "payloadType": "date",
  142.         "x": 230,
  143.         "y": 4620,
  144.         "wires": [
  145.             [
  146.                 "53c98bf8ccb4609c"
  147.             ]
  148.         ]
  149.     }
  150. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement