You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/integrations/trigger_dev.mdx
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ With Trigger.dev, you can:
23
23
-**Control queues**: Inspect queue depth and concurrency, and pause or resume queues during incidents
24
24
25
25
In Sim, the Trigger.dev integration lets your agents drive this entire lifecycle. An agent can trigger a deployed task with a payload, poll the run until it completes and use its output downstream, monitor for failed runs and replay the transient ones, manage per-customer cron schedules, and pause a queue when something goes wrong. Connect it with a project-scoped secret API key (starts with `tr_`) — the key determines which environment the runs, schedules, and queues belong to. This makes Sim a natural control plane for the background jobs that power your product.
26
+
27
+
Note: the environment variable operations (List Env Vars, Get Env Var) return variable values in plaintext, and those values appear in workflow outputs and run history. Scope workflows that read environment variables carefully.
26
28
{/* MANUAL-CONTENT-END */}
27
29
28
30
@@ -959,7 +961,7 @@ Deactivate an imperative Trigger.dev schedule so it stops triggering its task.
959
961
960
962
### `trigger_dev_list_env_vars`
961
963
962
-
List the environment variables of a Trigger.dev project environment, including their values.
964
+
List the environment variables of a Trigger.dev project environment. Values are returned in plaintext and will appear in workflow outputs and run history — scope this operation carefully.
963
965
964
966
#### Input
965
967
@@ -975,7 +977,7 @@ List the environment variables of a Trigger.dev project environment, including t
975
977
| --------- | ---- | ----------- |
976
978
|`variables`| array | Environment variables in the project environment |
977
979
| ↳ `name`| string | Name of the environment variable |
978
-
| ↳ `value`| string |Value of the environment variable |
980
+
| ↳ `value`| string |Plaintext value of the environment variable; appears in workflow outputs and run history|
979
981
980
982
### `trigger_dev_create_env_var`
981
983
@@ -1000,7 +1002,7 @@ Create an environment variable in a Trigger.dev project environment.
1000
1002
1001
1003
### `trigger_dev_get_env_var`
1002
1004
1003
-
Retrieve an environment variable from a Trigger.dev project environment.
1005
+
Retrieve an environment variable from a Trigger.dev project environment. The value is returned in plaintext and will appear in workflow outputs and run history.
1004
1006
1005
1007
#### Input
1006
1008
@@ -1016,7 +1018,7 @@ Retrieve an environment variable from a Trigger.dev project environment.
1016
1018
| Parameter | Type | Description |
1017
1019
| --------- | ---- | ----------- |
1018
1020
|`name`| string | Name of the environment variable |
1019
-
|`value`| string |Value of the environment variable |
1021
+
|`value`| string |Plaintext value of the environment variable; appears in workflow outputs and run history|
Copy file name to clipboardExpand all lines: apps/sim/lib/integrations/integrations.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14904,15 +14904,15 @@
14904
14904
},
14905
14905
{
14906
14906
"name": "List Env Vars",
14907
-
"description": "List the environment variables of a Trigger.dev project environment, including their values."
14907
+
"description": "List the environment variables of a Trigger.dev project environment. Values are returned in plaintext and will appear in workflow outputs and run history — scope this operation carefully."
14908
14908
},
14909
14909
{
14910
14910
"name": "Create Env Var",
14911
14911
"description": "Create an environment variable in a Trigger.dev project environment."
14912
14912
},
14913
14913
{
14914
14914
"name": "Get Env Var",
14915
-
"description": "Retrieve an environment variable from a Trigger.dev project environment."
14915
+
"description": "Retrieve an environment variable from a Trigger.dev project environment. The value is returned in plaintext and will appear in workflow outputs and run history."
description: 'Retrieve an environment variable from a Trigger.dev project environment.',
14
+
description:
15
+
'Retrieve an environment variable from a Trigger.dev project environment. The value is returned in plaintext and will appear in workflow outputs and run history.',
'List the environment variables of a Trigger.dev project environment, including their values.',
15
+
'List the environment variables of a Trigger.dev project environment. Values are returned in plaintext and will appear in workflow outputs and run history — scope this operation carefully.',
0 commit comments