Skip to content

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.

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 as session to the activities and close it with Outlook Close.

Ninguno.

ParameterEditorDescription
accountexpressionName or email of the account (e.g. "soporte@empresa.com"). Skip it to use the default account.

Activities to execute with this session. If omitted, returns the session as output.

Returns a ZoanOutlookSession. Pass it as session to other Outlook activities.

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 ...