Tokens AV
AI-generatedSummary
Poll for authentication tokens from the AulaVirtual UM API using stored credentials and returns them for use in workflows.
Inputs
- Poll Times — Configure multiple polling times determining how often the node triggers to retrieve tokens. Options include every minute, hour, day, week, month, a custom cron expression, or intervals of X minutes/hours.
Output shape
a single item containing a JSON object with the current authentication tokens from the AulaVirtual UM API
The output JSON object has a 'tokens' field holding the retrieved tokens. The node performs authentication and token retrieval internally; errors during retrieval will cause the node to throw unless 'Continue On Fail' is enabled.
Examples
Example 1: Automate workflows that require authenticated access to AulaVirtual UM's API by periodically refreshing and retrieving session tokens.
Set the desired Poll Times to define how often to refresh tokens; the node outputs the current valid tokens in the workflow data for downstream use.