This is Part Two of the Flow
Combine them in order in a json file and import to NodeRed
{"id":"868d717057115bfc","type":"inject","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"DELETE Group Members","props":[{"p":"url","v":"$env('signal_url') & '/v1/groups/' & $env('signal_num') & '/' & $env('signal_grp') & '/members'","vt":"jsonata"},{"p":"method","v":"DELETE","vt":"str"},{"p":"payoad","v":"{\"members\":[\"delete members by phone number here\",\"like this --->\",\"+CountryCodeAreaCodePhoneNumber\",\"+12125551234\"]}","vt":"json"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":970,"y":1200,"wires":[["c63177f56c67d4de"]]},{"id":"c63177f56c67d4de","type":"http request","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":1210,"y":1200,"wires":[["68eaded31b51bfc3"]]},{"id":"68eaded31b51bfc3","type":"debug","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Remove Group Members","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1510,"y":1200,"wires":[]},{"id":"426b58641c07dab0","type":"comment","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Remove Members from the Specified Group","info":"","x":1070,"y":1240,"wires":[]},{"id":"45b5f4df745f0df8","type":"inject","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"POST Quit Group","props":[{"p":"url","v":"$env('signal_url') & '/v1/groups/' & $env('signal_num') & '/' & $env('signal_grp') & '/quit'","vt":"jsonata"},{"p":"method","v":"POST","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":940,"y":1300,"wires":[["6d02d61fbfc0fbb6"]]},{"id":"6d02d61fbfc0fbb6","type":"http request","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":1210,"y":1300,"wires":[["2762a409bd366916"]]},{"id":"2762a409bd366916","type":"debug","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Quit Group","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1550,"y":1300,"wires":[]},{"id":"b1cc87736ccc0151","type":"comment","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Quit the Specified Group","info":"","x":1010,"y":1340,"wires":[]},{"id":"2d65fa8550e0938f","type":"inject","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"GET Groups","props":[{"p":"url","v":"$env('signal_url') & '/v1/groups/' & $env('signal_num')","vt":"jsonata"},{"p":"method","v":"GET","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":930,"y":200,"wires":[["7d8a22d94d17f39f"]]},{"id":"7d8a22d94d17f39f","type":"http request","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":1210,"y":200,"wires":[["655ba30a30919e17"]]},{"id":"655ba30a30919e17","type":"debug","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"List All Groups","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1420,"y":200,"wires":[]},{"id":"7277a91a2681e24f","type":"comment","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"List all Signal Groups","info":"","x":1000,"y":240,"wires":[]},{"id":"f03880a97c602c24","type":"inject","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"POST Groups","props":[{"p":"url","v":"$env('signal_url') & '/v1/groups/' & $env('signal_num')","vt":"jsonata"},{"p":"method","v":"POST","vt":"str"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"members\":[\"ADD\",\"NEW\",\"MEMBERS\",\"HERE\",\"FORMATTED AS:\",\"+CountryCodeAreaCodePhoneNumber\",\"+12125551234\"],\"name\":\"Test Group\"}","payloadType":"json","x":930,"y":300,"wires":[["5928816a80a090eb"]]},{"id":"5928816a80a090eb","type":"http request","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":1210,"y":300,"wires":[["bcade1473470f263"]]},{"id":"bcade1473470f263","type":"debug","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Create New Group","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1430,"y":300,"wires":[]},{"id":"cb36c6bc822b38cf","type":"comment","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Create New Group. Edit POST Group Inject Node msg.data as necesssary.","info":"","x":1160,"y":340,"wires":[]},{"id":"4eb442f87a5a74a3","type":"inject","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"GET Group List","props":[{"p":"url","v":"$env('signal_url') & '/v1/groups/' & $env('signal_num') & '/' & $env('signal_grp')","vt":"jsonata"},{"p":"method","v":"GET","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":940,"y":400,"wires":[["70708a6092ef09b0"]]},{"id":"70708a6092ef09b0","type":"http request","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":1210,"y":400,"wires":[["cc329acbaba3b3a7"]]},{"id":"cc329acbaba3b3a7","type":"debug","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"List Defined Group","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1430,"y":400,"wires":[]},{"id":"bae8df465e5bef69","type":"comment","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"List Group Information","info":"","x":1000,"y":440,"wires":[]},{"id":"17ecccb972234070","type":"debug","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"About","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":690,"y":140,"wires":[]},{"id":"3335a5836a1f1d6f","type":"http request","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":430,"y":140,"wires":[["17ecccb972234070"]]},{"id":"552a23c432b48a2f","type":"inject","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"GET About","props":[{"p":"url","v":"$env('signal_url') & '/v1/about'","vt":"jsonata"},{"p":"method","v":"GET","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":160,"y":140,"wires":[["3335a5836a1f1d6f"]]},{"id":"a06e918627829672","type":"inject","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"GET Account Configuration","props":[{"p":"url","v":"$env('signal_url') & '/v1/configuration/' & $env('signal_num') & '/settings'","vt":"jsonata"},{"p":"method","v":"GET","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":220,"y":240,"wires":[["eece0e5e26bc8f93"]]},{"id":"eece0e5e26bc8f93","type":"http request","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":430,"y":240,"wires":[["e0aae9e41e8b04fe"]]},{"id":"e0aae9e41e8b04fe","type":"debug","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Account Configuration","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":640,"y":240,"wires":[]},{"id":"80dfeddd3f3a95a7","type":"inject","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"GET Health","props":[{"p":"url","v":"$env('signal_url') & '/v1/health'","vt":"jsonata"},{"p":"method","v":"GET","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":170,"y":440,"wires":[["761ba4aade07aff0"]]},{"id":"761ba4aade07aff0","type":"http request","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":430,"y":440,"wires":[["4d4ba6ef3330ae84"]]},{"id":"4d4ba6ef3330ae84","type":"debug","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Health Check","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":660,"y":440,"wires":[]},{"id":"95bdf43c41020987","type":"comment","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"General information about the Signal API","info":"","x":280,"y":180,"wires":[]},{"id":"e8b592c436e335b9","type":"comment","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Account specific settings","info":"","x":230,"y":280,"wires":[]},{"id":"82e969976e44571f","type":"comment","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Health Check : responds 204 when healthy","info":"","x":280,"y":480,"wires":[]},{"id":"c680452b6921318c","type":"inject","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"GET Accounts","props":[{"p":"url","v":"$env('signal_url') & '/v1/accounts'","vt":"jsonata"},{"p":"method","v":"GET","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":170,"y":340,"wires":[["a55e92518369399f"]]},{"id":"a55e92518369399f","type":"http request","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":430,"y":340,"wires":[["8a7e0e2728dd3cf7"]]},{"id":"8a7e0e2728dd3cf7","type":"debug","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"Accounts","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":680,"y":340,"wires":[]},{"id":"3a0880a3662d0445","type":"comment","z":"3240b1abdd2b9cc0","g":"9960202b1208ef7b","name":"List all accounts linked or registered.","info":"","x":280,"y":380,"wires":[]},{"id":"b2f5dd6e03a136f3","type":"inject","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"GET Identities","props":[{"p":"url","v":"$env('signal_url') & '/v1/identities/' & $env('signal_num')","vt":"jsonata"},{"p":"method","v":"GET","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":190,"y":1200,"wires":[["eb8fe74b94ee0f79"]]},{"id":"eb8fe74b94ee0f79","type":"http request","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":450,"y":1200,"wires":[["7a915afc8c35fc67"]]},{"id":"7a915afc8c35fc67","type":"debug","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"Identities","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":660,"y":1200,"wires":[]},{"id":"9bb14c15cb8a65d9","type":"comment","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"List all Identities","info":"","x":240,"y":1240,"wires":[]},{"id":"41b98669873ded1b","type":"inject","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"PUT Trust Identity","props":[{"p":"url","v":"$env('signal_url') & '/v1/identities/' & $env('signal_num') & '/trust/' & $env('signal_snd')","vt":"jsonata"},{"p":"method","v":"PUT","vt":"str"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\t \"trust_all_known_keys\": false,\t \"verified_safety_number\": $env('safety_num')\t}","payloadType":"jsonata","x":210,"y":1300,"wires":[["9d90428694ebd6f5"]]},{"id":"9d90428694ebd6f5","type":"http request","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":450,"y":1300,"wires":[["ee38b66a74042f61"]]},{"id":"ee38b66a74042f61","type":"debug","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"Trust Identity","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":650,"y":1300,"wires":[]},{"id":"5a8096c460ab3555","type":"comment","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"Trust Specified Identity with Safety Number","info":"","x":330,"y":1340,"wires":[]},{"id":"c8f1cc833c2218a9","type":"comment","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"Search for Specified User","info":"","x":250,"y":1560,"wires":[]},{"id":"ba5d158fce2fd0c4","type":"inject","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"POST Synchronize Contacts","props":[{"p":"url","v":"$env('signal_url') & '/v1/contacts/' & $env('signal_num') & '/sync'","vt":"jsonata"},{"p":"method","v":"POST","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":220,"y":1520,"wires":[["bd54b84bc8341dba"]]},{"id":"bd54b84bc8341dba","type":"http request","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":450,"y":1520,"wires":[["4c8bc2f9ab0b8fe1"]]},{"id":"4c8bc2f9ab0b8fe1","type":"debug","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"Synchronize Contacts","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":640,"y":1520,"wires":[]},{"id":"f969efddaf409890","type":"comment","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"Add a New Contact or Update Existing Contact","info":"","x":320,"y":1660,"wires":[]},{"id":"8fef4d9e01276f7f","type":"inject","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"PUT Add New or Update Contact","props":[{"p":"url","v":"$env('signal_url') & '/v1/contacts/' & $env('signal_num')","vt":"jsonata"},{"p":"method","v":"PUT","vt":"str"},{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\t \"expiration_in_seconds\": 7200,\t \"name\": $env('contact_name'),\t \"recipient\": $env('signal_snd')\t}","payloadType":"jsonata","x":230,"y":1620,"wires":[["dfc9a9321740fd56"]]},{"id":"dfc9a9321740fd56","type":"http request","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"Signal API","method":"use","ret":"obj","paytoqs":"ignore","url":"","tls":"","persist":true,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[{"keyType":"Content-Type","keyValue":"","valueType":"application/json","valueValue":""}],"x":450,"y":1620,"wires":[["154cf7a88fd8de54"]]},{"id":"154cf7a88fd8de54","type":"debug","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"Update Contacts","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":650,"y":1620,"wires":[]},{"id":"b1bdc6b343aae5ec","type":"comment","z":"3240b1abdd2b9cc0","name":"REQUIRED: Define Global Environmental Variables: \"signal_url\" = \"http://1315902c-signal-messenger:8080\", \"signal_num\" = {{your registered Signal phone number}}","info":"","x":610,"y":60,"wires":[]},{"id":"bec501a8bbdfca40","type":"comment","z":"3240b1abdd2b9cc0","g":"66db6ed8538aa25a","name":"REQUIRED: Define Global Environmental Variable: \"signal_grp\" = {{group.ID}}","info":"","x":1130,"y":140,"wires":[]},{"id":"1c1966db6bdd1151","type":"comment","z":"3240b1abdd2b9cc0","g":"d09b4bf0ac40a1dc","name":"REQUIRED: Define Global Environmental Variable: \"signal_snd\" = {{phone number of recipient}}","info":"","x":430,"y":620,"wires":[]},{"id":"c6dbc0b68361dd92","type":"comment","z":"3240b1abdd2b9cc0","g":"44f2778d817fd3a9","name":"REQUIRED: Define Global Environmental Variable: \"safety_num\" = {{safety number}}","info":"","x":390,"y":1140,"wires":[]},{"id":"766b3aef36c93507","type":"comment","z":"3240b1abdd2b9cc0","g":"7f3749c392037095","name":"REQUIRED: Define Global Environmental Variables: \"signal_snd\" = {{phone number of recipient}}, \"contact_name\" = {{name of your contact}}","info":"","x":550,"y":1460,"wires":[]},{"id":"ab541d059c27634e","type":"websocket in","z":"3240b1abdd2b9cc0","g":"d09b4bf0ac40a1dc","name":"Signal Receive","server":"","client":"c7bcef6ada6d3c7f","x":280,"y":960,"wires":[["acd36385bf216bc3"]]},{"id":"acd36385bf216bc3","type":"debug","z":"3240b1abdd2b9cc0","g":"d09b4bf0ac40a1dc","name":"Signal Messages Received","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":560,"y":960,"wires":[]},{"id":"320c907ae16bd118","type":"comment","z":"3240b1abdd2b9cc0","g":"d09b4bf0ac40a1dc","name":"Open this WebSocket Node and edit the URL to include your Signal Number","info":"","x":430,"y":1020,"wires":[]},{"id":"c7bcef6ada6d3c7f","type":"websocket-client","path":"ws://1315902c-signal-messenger:8080/v1/receive/+yourSignalPhoneNumberHere","tls":"","wholemsg":"true","hb":"0","subprotocol":""}]