Outlook Connect
Outlook Connect
Section titled “Outlook Connect”Type: outlook-connect · Package: Outlook Activities v1.0.0 · Output: ZoanOutlookSession
Opens an Outlook session and returns a ZoanOutlookSession. Not required: other activities work alone using the default account. Use Connect when you need a specific account (other than the default one) or you are going to do several operations in a row efficiently.
How it works
Section titled “How it works”Log in to the account indicated in account (or the default one if you omit it). Two modes:
- With
body: Activities within it inherit the session (and your account) automatically, and it closes itself when finished. - Without
body: returns the session as output; pass it assessionto the activities and close it with Outlook Close.
Required parameters
Section titled “Required parameters”Ninguno.
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
account | expression | Name or email of the account (e.g. "soporte@empresa.com"). Skip it to use the default account. |
Subflows (lanes)
Section titled “Subflows (lanes)”body optional
Section titled “body optional”Activities to execute with this session. If omitted, returns the session as output.
Output
Section titled “Output”Returns a ZoanOutlookSession. Pass it as session to other Outlook activities.
Example
Section titled “Example”Process mail from a shared account:
Outlook Connect account = "facturas@empresa.com" └─ body: Outlook Get Emails folder = "Inbox" unreadOnly = true → output: correos ... procesar cada correo ...Related activities
Section titled “Related activities”- Outlook Close — close the session (mode without
body). - Outlook Get Emails / Outlook Send Email — operate in the session.