Send HTTP request and return parsed JSON token
Recipe ToolsDeveloper ToolAPI IntegrationData ParserMarketingUtilities
What it does
When someone calls the Get LR7 Token callable workflow, this automation sends an HTTP request to the LR7 endpoint. It parses the JSON response and returns the token data to the caller.
Who it's for
Engineering teams who need to retrieve LR7 tokens programmatically for API authentication.
Apps used
- Callable recipes by Workato
- Rest Secondary
- JSON tools by Workato
How teams use this
Authenticate API calls with LR7 token
Call this workflow from another automation to get a fresh LR7 token, then use that token in HTTP requests to protected endpoints. The caller receives structured token data ready to use.
Refresh tokens in scheduled jobs
Invoke this callable from a scheduled workflow to retrieve a new LR7 token before making batch HTTP requests. The token is parsed and passed to the next step without manual intervention.
Add token caching to reduce HTTP calls
Extend this workflow to check for a cached token before sending the HTTP request, and only fetch a new one if the cached token has expired. This requires adding a condition to validate token freshness.
How it works
- Receive callable workflow request. Listen for an incoming call to the Get LR7 Token callable workflow from another automation or application.
- Send HTTP request to LR7 endpoint. Rest Secondary sends an HTTP request to the LR7 endpoint to retrieve the authentication token needed for downstream API calls.
- Parse JSON token response. Json Parser extracts and structures the JSON response so the token and related fields are available as clean data for the caller.
- Return token to caller. Send the parsed token data back to the calling automation so it can use the token for subsequent HTTP requests.