Route recommendation calls to lookup table or Snowflake
Recipe Tools
What it does
When a function call arrives, this automation checks the storage type property and routes to the correct recommendation function. The matched function processes the call and returns the result.
Who it's for
Data and analytics teams who need to direct recommendation requests based on storage configuration.
Apps used
How teams use this
Route lookup table recommendation requests
When the storage type is lookup table, this automation invokes the lookup table recommendation function and returns results immediately without manual steps.
Route Snowflake recommendation requests
When the storage type is Snowflake, this automation invokes the Snowflake recommendation function with approval status and optimization details included in the response.
Add a third storage type route
Extend this automation to check for additional storage types and route to other recommendation functions. Only add the new condition and corresponding function call.
How it works
- Receive a function call. A function call arrives in real time with the storage type property included in the request payload.
- Check storage type and route. Examine the storage type property. If it matches lookup table, call the lookup table recommendation function. If it matches Snowflake, call the Snowflake recommendation function with approval status and optimization details.
- Return the result. The matched recommendation function processes the call and returns the result back to the caller in real time.