Route app licensing requests by storage type
Recipe Tools
What it does
When a function call arrives, this automation checks the storage type and routes to the correct licensing lookup. The result returns to the calling workflow so it gets the right app data.
Who it's for
IT teams who manage app licensing across multiple storage systems.
Apps used
How teams use this
Route licensing lookups by storage type
Direct incoming licensing requests to the correct data source based on whether the system uses a lookup table or Snowflake. The routing happens automatically so callers always get the right data.
Support multiple storage backends
Maintain app licensing data in both lookup table and Snowflake systems without duplicating logic. Add a condition to check the storage type property and route each request to its matching function.
Centralize licensing data access
Let other workflows call this function instead of managing their own routing logic. All licensing requests flow through one place, making updates easier to manage.
How it works
- Receive a function call. A function call arrives with the app licensing request and storage type information needed to route it to the correct data source.
- Check if storage is lookup table. If the storage type is lookup table, the Workato Recipe Function calls the lookup table licensing function to retrieve the app data.
- Check if storage is Snowflake. If the storage type is Snowflake, the Workato Recipe Function calls the Snowflake licensing and price book function instead.
- Return the result. The Workato Recipe Function sends the licensing data back to the calling workflow so it has the app information it needs.