- type: ask
param: urls
message: >-
Please paste in a list of product links, comma or space separated, for
example:
```
https://chatgpt.com, https://harpa.ai
```
options: null
default: ''
vision:
enabled: false
mode: area
hint: ''
send: true
- type: js
args: urls
code: |-
let links = [];
const linkRegex = /(https?:\/\/\S+?)(?=[,;\n\s\]]|$)/gi;
try {
// any data to string
const urlString = String(urls);
// split string
const urlParts = urlString.split(/[,;\n\s]+/);
urlParts.forEach(part => {
const matchedLinks = part.match(linkRegex) || [];
links = links.concat(matchedLinks);
});
// delete "
links = links.map(link => link.replace(/^"|"$/g, ''));
// delete duplicates
links = [...new Set(links.filter(Boolean))];
} catch (error) {
return false;
}
return links;
param: links
timeout: 15000
- type: loop
list: links
steps:
- type: navigate
url: '{{item}}'
waitForIdle: false
silent: false
- type: wait
for: 1s
silent: true
- type: control
action: show
- type: command
name: Data Export to Google Sheets
inputs: []
This automation command is created by a community member. HARPA AI team does not audit community commands.
Please review the command carefully and only install if you trust the creator.
All rights reserved © HARPA AI TECHNOLOGIES LLC, 2021 — 2025
Designed and engineered in Finland 🇫🇮