We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2947f5 commit 09971bcCopy full SHA for 09971bc
components/heylibby/sources/new-qualified-lead-created/new-qualified-lead-created.mjs
@@ -38,6 +38,9 @@ export default {
38
const lastTs = this._getLastTs();
39
let maxTs = lastTs;
40
const leads = await this.heylibby.listQualifiedLeads();
41
+ if (!leads?.length) {
42
+ return;
43
+ }
44
for (const lead of leads) {
45
const ts = Date.parse(lead.datetime);
46
if (ts > lastTs) {
0 commit comments