Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "66a31b5874350685",
- "type": "template",
- "z": "ea42b334.b6a77",
- "name": "Voice Monkey - Create API URL",
- "field": "url",
- "fieldType": "msg",
- "format": "handlebars",
- "syntax": "mustache",
- "template": "https://api.voicemonkey.io/trigger?access_token={{{access_token}}}&secret_token={{{secret_token}}}&monkey={{{monkey}}}",
- "output": "str",
- "x": 750,
- "y": 4620,
- "wires": [
- [
- "b9c082d2dc01d3ee"
- ]
- ]
- },
- {
- "id": "b9c082d2dc01d3ee",
- "type": "http request",
- "z": "ea42b334.b6a77",
- "name": "",
- "method": "GET",
- "ret": "txt",
- "paytoqs": "ignore",
- "url": "",
- "tls": "",
- "persist": false,
- "proxy": "",
- "insecureHTTPParser": false,
- "authType": "",
- "senderr": false,
- "headers": [],
- "x": 990,
- "y": 4620,
- "wires": [
- [
- "240015988728938a",
- "ce8a2c08d5bdbb27"
- ]
- ]
- },
- {
- "id": "240015988728938a",
- "type": "debug",
- "z": "ea42b334.b6a77",
- "name": "Complete msg object",
- "active": true,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "true",
- "targetType": "full",
- "statusVal": "",
- "statusType": "auto",
- "x": 1220,
- "y": 4580,
- "wires": []
- },
- {
- "id": "ce8a2c08d5bdbb27",
- "type": "debug",
- "z": "ea42b334.b6a77",
- "name": "Sucess? ",
- "active": false,
- "tosidebar": true,
- "console": false,
- "tostatus": true,
- "complete": "payload",
- "targetType": "msg",
- "statusVal": "headers.nel",
- "statusType": "auto",
- "x": 1180,
- "y": 4620,
- "wires": []
- },
- {
- "id": "53c98bf8ccb4609c",
- "type": "change",
- "z": "ea42b334.b6a77",
- "name": "Set Voice Monkey Paramenters",
- "rules": [
- {
- "t": "set",
- "p": "monkey",
- "pt": "msg",
- "to": "monkey",
- "tot": "str"
- },
- {
- "t": "set",
- "p": "access_token",
- "pt": "msg",
- "to": "ACCESS_TOKEN",
- "tot": "str"
- },
- {
- "t": "set",
- "p": "secret_token",
- "pt": "msg",
- "to": "SECRET_TOKEN",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 450,
- "y": 4620,
- "wires": [
- [
- "66a31b5874350685"
- ]
- ]
- },
- {
- "id": "bb61d96767a608cd",
- "type": "inject",
- "z": "ea42b334.b6a77",
- "name": "trigger",
- "props": [
- {
- "p": "payload"
- },
- {
- "p": "topic",
- "vt": "str"
- }
- ],
- "repeat": "",
- "crontab": "",
- "once": false,
- "onceDelay": 0.1,
- "topic": "",
- "payload": "",
- "payloadType": "date",
- "x": 230,
- "y": 4620,
- "wires": [
- [
- "53c98bf8ccb4609c"
- ]
- ]
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement