How to Update Infinity Items

Updated 8 months ago by Karan

How to Update Infinity Items

Byteline allows you to insert, update and delete StartInfinity items using Scheduler trigger node, Web scraper node, and Infinity - Update items node respectively. In this documentation, we have explained the steps to update Infinity items in particular time intervals.

We will be configuring the following three nodes to create the Job Board.

Scheduler Trigger Node - First of all, we’ll have to configure the scheduler node to run the flow at a regular interval of time. 

Web Scraper Node - After that, we’ll need to configure the Web Scraper node to extract data from a webpage. Here, we will scrape data from the Coinbase.com site.  

Infinity - Update Items Node - Lastly, we’ll need to configure the Infinity - Update Items Node to update the details of startInfinity items.

Let’s get started.

Create

In this section, you’ll learn to create the flow. For more details, you can check How to Create your First Flow Design

Step 1: Enter the flow name to create your new flow.

Step 2: Select the Scheduler trigger node to initiate your flow. 

Now, you need to configure the Scheduler Node to run the flow at a regular interval of time.

So, let’s get started with Scheduler node configuration! 

Configuring Scheduler

Step 1: Click on the edit button to configure the scheduler node. 

Note: Scheduler gets configured by default or else, you can also change the configuration according to your requirement.

To learn how to configure Scheduler, you can check out the dedicated documentation on Scheduler configuration. 

Once you configure the Scheduler node to run the flow at a particular interval of time, you’ll have to configure Web Scraper. 

Configuring Web Scraper 

Step 1: Hover the cursor over Scheduler to display the options. Once displayed, click on the add button to view the nodes in the select node window. 

Step 2: Select the Web Scraper node to add it to your flow. 

Step 3: Hover the cursor over Web Scraper to display the options. Once displayed, click on the Edit button to configure the Web Scraper node. 

Note: Now you will have to scrape the data from a certain site. Here we have scraped from the Coinbase.com site.
For details on the same, check dedicated documentation on how to configure Web Scraper.

Here are the output values of the flow we have configured.

Once you are done with the configuration, the dot will become green.

Create Infinity Table

Step 1: Launch app.startinfinity.com in your browser and you will be directed to the Infinity login page. Log in using your credentials.

Note: If you don’t have an account. Go for sign up.

Step 2: Go to the “My Dashboard” and create a board as per your requirements. Here, we have created a Crypto Board.

This Crypto Board has 4 attributes - name, symbol, price, and change, where name and symbol are text fields, and price and change are number fields. 

Note: Decimal is allowed. Byteline will automatically figure out what data needs to be sent to Infinity. It will pass the data from the web scraper and change it to a number. This way the data will be sent to Infinity. 

Configuring Infinity - Update Items Node

Step 1:  Hover the cursor over Web Scraper to display the options. Once displayed, click on the Add button to configure the Web Scraper node. 

Step 2: Select the Infinity - Update Items node to add it to your flow.

Step 3: Hover the cursor over Infinity - Update Items to display the options. Once displayed, click on the Edit button to configure the Infinity - Update Items node.

Step 4: Sign in to your Infinity account.

Step 5: Fill in the Workspace, Board, and Folder using the drop-down menus.

Step 6: Check the loop over box to push the data for all the coins.

Step 7: Once checked pick the Web Scraper node from the drop-down menu to execute the task.

Step 8: Click on the selector appearing next to the Symbol to map it to the byteline data.

Note: Here the key in front of the symbol indicates that it is a primary field based on which the mapping takes place.

Step 9: Click on the variable to pick its path.

After choosing the variable, the below-mentioned field will be automatically fetched.

Step 10: Click on the selector appearing next to the change to map it to the byteline data.

Step 11: Click on the variable to pick its path.

After choosing the variable, the below-mentioned field will be automatically fetched.

Step 12: Click on the selector appearing next to the price to map it to the byteline data.

Step 13: Click on the variable to pick its path.

After choosing the variable, the below-mentioned field will be automatically fetched.

Step 14: Click on the selector appearing next to the Name to map it to the byteline data.

Step 15: Click on the variable to pick its path.

After choosing the variable, the below-mentioned field will be automatically fetched.

Step 16: Select the Advanced drop-down menu to configure how we want to handle updates and delete deletions.

Step 17: Detailed field mapper configuration

You can get detailed documentation on using field mapper from https://docs.byteline.io/article/upw7xnv6nv-field-mapper-configuration

You have successfully created the flow to update Infinity items.

Deploy the Flow

Click on the Deploy button to deploy the flow.

Test Run the Flow

Click on the Test Run button to test the flow.

View Output Values

Once the flow runs successfully, click on the "i" button to view the output values.

You have successfully configured the flow to update infinity items.


How did we do?