Tadabase Domain Utilities
What is the Tadabase Domain Utilities pipe?
The Tadabase Domain Utilities pipe allows you to retrieve website and domain information from a URL. Let's use a CRM (Customer Relationship Management) app as an example. When you add a new customer, this pipe can use the customer's website URL to retrieve a description of their company.
Installing the Pipe
Using the Pipe
There are 2 API calls that you can make using this pipe:
Get Website Info
Retrieves information about the website located at a specific URL, such as description, images, and other metadata.
At this point, it would be helpful to test the available API calls to see the responses that are given. By viewing the responses, you will be able to determine what fields to create in a Data Table to save the responses.
This method requires a URL protocol prefixed with the domain. For example, HTTPS:// is required to get information for https://tadabase.io
Get Domain Info
Retrieves information about a specific domain.
This method does not require a URL protocol prefixed with the domain. For example, HTTPS:// is not required to get information for tadabase.io
The Tadabase Domain Utilities pipe is non-configurable, meaning there are no settings that require modification. After installing the pipe, you can begin using it right away in your app. For this example, we will be accessing the pipe in a Customer Intake Form.
Adding the Pipe in the Page Builder
Using the above information as a reference, we will save the website description after running the pipe. To do this, first, create a Long Text Field in your Data Table.
Here we can see an example of using this pipe inside of a Form's Record Rule.
On Form submission, the URL provided by the user will be passed to the Tadabase Domain Utilities Pipe.
Next, a field value must be set with a value from the Pipe response.
When we view our live app, this what the Pipe looks like in action.