Bulk Select an Specific amount of Contacts
G
Gerry Perez
Within a smart list, we should be able to select and specific amount of contacts, currently, our only option is by page or by all. How about we can select say 2,000 contacts within a smart list that contains 10K.
Log In
S
Sales & Marketing
Merged in a post:
When selecting contacts for bulk actions, be able to select more people from different filters. (Search with Memory)
P
Pedro Poleza
This is good when looking for specific contacts that you want to send a bulk message to. I'm attaching an example showing how it'd work:
A
Asrafuzzaman Khan Nahin
Searching for the exact functionality. You can use this to automate it.
async function clickCheckboxAndNextArrow(times = 10, delay = 3000) {
for (let i = 0; i < times; i++) {
const checkbox = document.querySelector('#all');
const nextArrow = Array.from(document.querySelectorAll('a')).find(a => a.textContent.trim() === '❯');
if (!checkbox || !nextArrow) {
console.warn(`Could not find checkbox or next arrow on iteration ${i + 1}`);
break;
}
// Click checkbox if not already checked
if (!checkbox.checked) {
checkbox.click();
}
// Wait a little before clicking the arrow
await new Promise(resolve => setTimeout(resolve, delay));
nextArrow.click();
// Wait for new page/content to load before next iteration
await new Promise(resolve => setTimeout(resolve, delay));
}
}
clickCheckboxAndNextArrow();
K
Keith Besherse
K
Keith Besherse