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

  1. Navigate to the Pipes section of the Builder by clicking on the Pipes icon in the menu on the left side of the Builder.
  2. Search or filter for the Domain Utilities pipe.
  3. Click the "View More" button.
  4. Click the "Install" button.

install-pipe.png

 

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.

get-website-info.png

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.

get-domain-info.png

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.

new-fields.png

Here we can see an example of using this pipe inside of a Form's Record Rule.

pipe-record-rule.png

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.

pipe-record-rule2.png

When we view our live app, this what the Pipe looks like in action.

2021-05-14_14-04-14.gif