Manage workflow configurations
relay workflow args get ARG
relay workflow args list
relay workflow args set
relay workflow args unset
relay workflow create battery
relay workflow create button
relay workflow create call
relay workflow create event
relay workflow create geofence
relay workflow create http
relay workflow create nfc
relay workflow create phrase
relay workflow create position
relay workflow create timer
relay workflow delete
relay workflow install
relay workflow instance list
relay workflow list
relay workflow logs
relay workflow trigger
relay workflow uninstall
display arguments for a workflow
USAGE
$ relay workflow:args:get [ARG] -w <value> -s <value>
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-w, --workflow-id=<value> (required) workflow id
DESCRIPTION
display arguments for a workflow
See code: dist/commands/workflow/args/get.ts
List a workflow's args
USAGE
$ relay workflow:args:list -w <value> -s <value>
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-w, --workflow-id=<value> (required) workflow id
DESCRIPTION
List a workflow's args
See code: dist/commands/workflow/args/list.ts
set one or more workflow arguments
USAGE
$ relay workflow:args:set -w <value> -s <value> [-a <value>] [-b <value>] [-r <value>]
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-w, --workflow-id=<value> (required) workflow id
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-r, --number=arg1=100.0... Number name/value pair workflow arg
DESCRIPTION
set one or more workflow arguments
See code: dist/commands/workflow/args/set.ts
unset one or more workflow arguments
USAGE
$ relay workflow:args:unset -w <value> -s <value>
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-w, --workflow-id=<value> (required) workflow id
DESCRIPTION
unset one or more workflow arguments
See code: dist/commands/workflow/args/unset.ts
Create or update a workflow triggered by crossing a charging or discharging threshold of any device on the account
USAGE
$ relay workflow:create:battery -s <value> -n <value> -u <value> --trigger charge|discharge --threshold <value> [-N] [-i
<value> | -A | -G <value>] [-t] [-e] [-a <value>] [-b <value>] [-r <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
--threshold=<value> (required) [default: 25] Threshold percentage as an integer to trigger workflow
--trigger=(charge|discharge) (required) [default: discharge] Trigger whether threshold value is reached when
charging or discharging
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by crossing a charging or discharging threshold of any device on the account
See code: dist/commands/workflow/create/battery.ts
Create or update a workflow triggered by button taps
USAGE
$ relay workflow:create:button -s <value> -n <value> -u <value> --trigger single|double [-N] [-i <value> | -A | -G
<value>] [-t] [-e] [-a <value>] [-b <value>] [-r <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
--trigger=(single|double) (required) [default: single] Number of button taps to trigger this workflow
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by button taps
See code: dist/commands/workflow/create/button.ts
Create or update a workflow triggered by inbound or outbound calling
USAGE
$ relay workflow:create:call -s <value> -n <value> -u <value> --trigger inbound|outbound [-N] [-i <value> | -A | -G
<value>] [-t] [-e] [-a <value>] [-b <value>] [-r <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
--trigger=(inbound|outbound) (required) [default: outbound] Trigger whether an inbound or outbound call is
placed
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by inbound or outbound calling
See code: dist/commands/workflow/create/call.ts
Create or update a workflow triggered by event emitted by Relay device
USAGE
$ relay workflow:create:event -s <value> -n <value> -u <value> --trigger emergency [-N] [-i <value> | -A | -G <value>]
[-t] [-e] [-a <value>] [-b <value>] [-r <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
--trigger=(emergency) (required) [default: emergency] Relay device event to trigger this workflow
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by event emitted by Relay device
See code: dist/commands/workflow/create/event.ts
Create or update a workflow triggered by geofence transition
USAGE
$ relay workflow:create:geofence -s <value> -n <value> -u <value> --trigger entry|exit --id <value> [-N] [-i <value> | -A |
-G <value>] [-t] [-e] [-a <value>] [-b <value>] [-r <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
--id=<value> (required) Geofence ID
--trigger=<option> (required) [default: entry] Transition trigger for the specified geofence
<options: entry|exit>
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by geofence transition
See code: dist/commands/workflow/create/geofence.ts
Create or update a workflow triggered by an HTTP request
USAGE
$ relay workflow:create:http -s <value> -n <value> -u <value> --trigger POST [-N] [-i <value> | -A | -G <value>] [-t]
[-e] [-a <value>] [-b <value>] [-r <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
--trigger=(POST) (required) [default: POST] HTTP method to trigger this workflow
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by an HTTP request
See code: dist/commands/workflow/create/http.ts
Create or update a workflow triggered by an NFC tap
USAGE
$ relay workflow:create:nfc -s <value> -n <value> -u <value> [-N] [-i <value> | -A | -G <value>] [-t] [-e] [-a <value>]
[-b <value>] [-r <value>] [-c <value>] [-l <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-c, --category=<value> Tag category to match against when tapped
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-l, --label=<value> Tag label to match against when tapped
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by an NFC tap
See code: dist/commands/workflow/create/nfc.ts
Create or update a workflow triggered by a spoken phrase
USAGE
$ relay workflow:create:phrase -s <value> -n <value> -u <value> --trigger <value> [-N] [-i <value> | -A | -G <value>] [-t]
[-e] [-a <value>] [-b <value>] [-r <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
--trigger="hello world"... (required) Phrase spoken to Relay Assistant to trigger this workflow
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by a spoken phrase
See code: dist/commands/workflow/create/phrase.ts
Create or update a workflow triggered by a position transition
USAGE
$ relay workflow:create:position -s <value> -n <value> -u <value> --trigger entry|exit -v <value> -p <value> [-N] [-i
<value> | -A | -G <value>] [-t] [-e] [-a <value>] [-b <value>] [-r <value>]
FLAGS
-n, --name=<value> (required) Name of the workflow
-p, --position_id=<value> (required) Position ID
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value> (required) WebSocket URI workflow can be accessed
-v, --venue_id=<value> (required) Venue ID
--trigger=<option> (required) [default: entry] Transition trigger for the specified position
<options: entry|exit>
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-e, --hidden Hide channel from originating device
-i, --install=<value>... device / user ID to install workflow on
-r, --number=arg1=100.0... Number name/value pair workflow arg
-t, --[no-]transient Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered by a position transition
See code: dist/commands/workflow/create/position.ts
Create or update a workflow triggered immediately or with a repeating rule
USAGE
$ relay workflow:create:timer -s <value> -n <value> -u <value> --trigger immediately|schedule|repeat -z
local|America/New_York|America/Chicago|America/Denver|America/Los_Angeles|America/Phoenix|Pacific/Honolulu [-N] [-i
<value> | -A | -G <value>] [-t] [-e] [-a <value>] [-b <value>] [-r <value>] [-s <value>] [-l <value> | -c <value>]
[-d <value>]
FLAGS
-n, --name=<value>
(required) Name of the workflow
-s, --subscriber-id=<value>
(required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --uri=<value>
(required) WebSocket URI workflow can be accessed
-z, --timezone=(local|America/New_York|America/Chicago|America/Denver|America/Los_Angeles|America/Phoenix|Pacific/Hono
lulu)
(required) [default: local]
--trigger=(immediately|schedule|repeat)
(required) [default: immediately] Trigger immediately or based on a repeating rule
-A, --install-all
Enable rule to install workflow on all device and users on the account
-G, --install-group=<value>
Enable rule to install workflow on a group of device and users
-N, --dry-run
-a, --arg=<value>...
String name/value pair workflow arg
-b, --boolean=arg1=[true|false]...
Boolean name/value pair workflow arg
-c, --count=<value>
-d, --day=<value>...
[default: MO,TU,WE,TH,FR,SA,SU] Days of the week to repeat on
-e, --hidden
Hide channel from originating device
-i, --install=<value>...
device / user ID to install workflow on
-l, --until=<value>
-r, --number=arg1=100.0...
Number name/value pair workflow arg
-s, --start=<value>
[default: 2024-05-17T09:00:00]
-t, --[no-]transient
Allow workflow to run in the background; otherwise terminate workflow
DESCRIPTION
Create or update a workflow triggered immediately or with a repeating rule
See code: dist/commands/workflow/create/timer.ts
Destructively delete and remove a workflow
USAGE
$ relay workflow:delete -w <value> -s <value>
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-w, --workflow-id=<value> (required) workflow id
DESCRIPTION
Destructively delete and remove a workflow
See code: dist/commands/workflow/delete.ts
Install an existing workflow into one or more devices
USAGE
$ relay workflow:install [ID] -w <value> -s <value> [-N] [-i <value> | -A | -G <value>]
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-w, --workflow-id=<value> (required) workflow id
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-i, --install=<value>... device / user ID to install workflow on
DESCRIPTION
Install an existing workflow into one or more devices
See code: dist/commands/workflow/install.ts
List workflow instances
USAGE
$ relay workflow:instance:list -s <value> [--json] [-H] [--columns <value> | -x] [--sort <value>] [--filter <value>]
[--output csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ]
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-H, --include-history
-x, --extended show extra columns
--columns=<value> only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=<option> output in a more machine friendly format
<options: csv|json|yaml>
--sort=<value> property to sort by (prepend '-' for descending)
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List workflow instances
See code: dist/commands/workflow/instance/list.ts
List workflow configurations
USAGE
$ relay workflow:list -s <value> [--json] [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output
csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ]
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-x, --extended show extra columns
--columns=<value> only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=<option> output in a more machine friendly format
<options: csv|json|yaml>
--sort=<value> property to sort by (prepend '-' for descending)
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List workflow configurations
See code: dist/commands/workflow/list.ts
Display workflow realtime logs
USAGE
$ relay workflow:logs -s <value> [-w <value>] [-u <value>]
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --user-id=<value> user id
-w, --workflow-id=<value> workflow id
DESCRIPTION
Display workflow realtime logs
See code: dist/commands/workflow/logs.ts
Trigger a workflow over HTTP
USAGE
$ relay workflow:trigger -w <value> -u <value> -s <value> [-a <value>] [-b <value>] [-r <value>]
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-u, --user-id=<value> (required) Target user id on behalf of which to trigger a workflow
-w, --workflow-id=<value> (required) workflow id
-a, --arg=<value>... String name/value pair workflow arg
-b, --boolean=arg1=[true|false]... Boolean name/value pair workflow arg
-r, --number=arg1=100.0... Number name/value pair workflow arg
DESCRIPTION
Trigger a workflow over HTTP
See code: dist/commands/workflow/trigger.ts
Uninstall an existing workflow from one or more devices
USAGE
$ relay workflow:uninstall [ID] -w <value> -s <value> [-N] [-i <value> | -A | -G <value>]
FLAGS
-s, --subscriber-id=<value> (required) [default: 282b5c81-2410-4302-8f74-95207bdbe9d9] subscriber id
-w, --workflow-id=<value> (required) workflow id
-A, --install-all Enable rule to install workflow on all device and users on the account
-G, --install-group=<value> Enable rule to install workflow on a group of device and users
-N, --dry-run
-i, --install=<value>... device / user ID to install workflow on
DESCRIPTION
Uninstall an existing workflow from one or more devices
See code: dist/commands/workflow/uninstall.ts