Automatic integration of company logo runs all my automations

Topic Labels: Automations
778 0
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

Hello Guys !
I’ve set up this script founded on this forum !
My goal is to input the company logo automatically when the user puts the website url.
The problem is,
when the website’s url isn’t recognized, the automation keeps running and running and consumes all the automations :frowning:
What can I add to my script to stop the automation run after a minute for example (meaning that the website isn’t recognized) ?

Here is the script :
console.log(Hello, ${}!);
let table = base.getTable(‘Expériences’);

let query = await table.selectRecordsAsync();

for (let record of query.records) {
// if the attachment field is empty
if(record.getCellValue(‘Logo’) == null && record.getCellValue(‘Site internet’) != null) {
let recordId = await table.updateRecordAsync(record, {
‘Logo’: [
{ url: ‘’+record.getCellValue('Site internet’)}

Thank for the help

0 Replies 0