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: samples/email-triage-agent/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,12 +37,12 @@ The agent takes a single required input at job start:
37
37
38
38
## Connection (binding)
39
39
40
-
The Outlook connection used by the agent is declared as a **binding** in `bindings.json` rather than passed in as input. The code references placeholder identifiers (`<your-outlook-connection>` / `<your-folder>`) which Orchestrator resolves to the deployer-selected connection at run time, via the binding-overwrite mechanism.
40
+
The Outlook connection used by the agent is declared as a **binding** in `bindings.json` rather than passed in as input. The code references a placeholder connection key (`<your-outlook-connection>`) and calls `sdk.connections.retrieve_async(OUTLOOK_CONNECTION_KEY)`. That method is decorated with `@resource_override("connection", resource_identifier="key")`, which inspects the runtime's binding-overwrite context and substitutes the deployer-selected connection's real key before the HTTP call. The agent then reads `connection.name` and `connection.folder.path` from the resolved connection and feeds them into `WaitIntegrationEvent`.
41
41
42
42
To run the agent:
43
43
44
-
-**In Orchestrator (deployed)**: pick the actual Outlook 365 connection when configuring the agent — Orchestrator's binding UI presents the deployer with the list of available `uipath-microsoft-outlook365` connections and overwrites the placeholders.
45
-
-**Locally**: edit the `CONNECTION_NAME` / `CONNECTION_FOLDER` constants at the top of `graph.py` to point at a real connection in your tenant, or pass a resource-overwrites file via `--resource-overwrites`.
44
+
-**In Orchestrator (deployed)**: pick the actual Outlook 365 connection when configuring the agent — Orchestrator's binding UI presents the deployer with the list of available `uipath-microsoft-outlook365` connections and overwrites the placeholder key.
45
+
-**Locally**: edit the `OUTLOOK_CONNECTION_KEY` constant at the top of `graph.py` to a real connection key in your tenant, or pass a resource-overwrites file via `--resource-overwrites`.
46
46
47
47
The connector key (`uipath-microsoft-outlook365`) is hardcoded.
0 commit comments