Convert HTML Table to an array

Hey @Steven,

I used some dummy HTML data in a test scenario real quick (similar to yours):

First name Steven
Prefix
Last name Doe
Activity Open Day

So this then returns this when pushed through the “Get content from HTML table” module (as you’re already using).

So this creates an array called Rows. We could push this through an iterator to separate the rows, but that seems a bit too much for the use case.

So if we want to get the first name for exampe, we can use the get() formule in Make, and pull it like this:


(in human language: we’re getting the second column from the first row.)

image

This will in return get the first name from within the table. And you can do this for all of them, by changing the row you want to retrieve. The data is always in column 2.

Hope that helps! :slight_smile:

2 Likes