Dropdown input based on API
Jonathan Gruber
This is not implemented in Port because waiting for an API that is not controlled by Port may lead to a poor experience (lag etc...)
BUT there is an easy way to achieve the above 😀
Step 1: create a blueprint with the data you want to represent
Step 2: Ingest this data from your API endpoint (can be a daily cron job)
Step 3: use Entity Selection to pick the data from the list
Also using Port's data model to represent dropdown input opens more use cases with smarter logic that a dry list from API.
Hope it helps 😁
V
Vida Tahmasebi
Jonathan Gruber The proposed "easy" way doesn't support the scenarios where we need to pull live data!
Jonathan Gruber
Vida Tahmasebi indeed you are right
Could you share the data source ?
If it supports event based webhooks we could keep the data refreshed in Port maybe?
Sudarshan V
Jonathan Gruber Have the same request. What if the data source is a Dynamo DB table?
Jonathan Gruber
hi Sudarshan V. similarly, I don't know how much data you would like to appear in the dropdown but I would recommend you pre populate the dropdown options in a blueprint.
Also we just released Workflows in open beta. by splitting the actions in multiple steps you can add a CI or script step that searches for specific data in Dynamo DB