miniature-balloon-68733
04/23/2024, 2:27 PMfresh-fireman-491
04/23/2024, 2:32 PMminiature-balloon-68733
04/23/2024, 2:33 PMfresh-fireman-491
04/23/2024, 2:34 PMfresh-fireman-491
04/23/2024, 2:34 PMminiature-balloon-68733
04/23/2024, 2:53 PMfresh-fireman-491
04/23/2024, 2:55 PMminiature-balloon-68733
04/23/2024, 3:03 PMlimited-pencil-78283
04/23/2024, 3:07 PMminiature-balloon-68733
04/23/2024, 4:00 PMlimited-pencil-78283
04/23/2024, 4:14 PMminiature-balloon-68733
04/23/2024, 9:42 PMlimited-pencil-78283
04/24/2024, 6:06 AMminiature-balloon-68733
04/26/2024, 2:06 PMminiature-balloon-68733
04/26/2024, 2:06 PMlimited-pencil-78283
04/26/2024, 2:08 PMminiature-balloon-68733
04/26/2024, 2:09 PMlimited-pencil-78283
04/26/2024, 2:17 PMlimited-pencil-78283
04/26/2024, 2:21 PMfresh-fireman-491
04/26/2024, 2:25 PMlimited-pencil-78283
04/26/2024, 2:26 PMfresh-fireman-491
04/26/2024, 2:42 PMfresh-fireman-491
04/26/2024, 2:42 PMlimited-pencil-78283
04/26/2024, 2:47 PMminiature-balloon-68733
04/26/2024, 2:49 PMminiature-balloon-68733
04/26/2024, 3:16 PMminiature-balloon-68733
04/26/2024, 3:49 PMlimited-pencil-78283
04/26/2024, 5:04 PMlimited-pencil-78283
04/26/2024, 5:04 PMminiature-balloon-68733
04/26/2024, 7:05 PMfresh-fireman-491
04/26/2024, 8:39 PMfresh-fireman-491
04/26/2024, 8:39 PMfresh-fireman-491
04/26/2024, 8:39 PMminiature-balloon-68733
04/29/2024, 1:40 PMminiature-balloon-68733
04/29/2024, 1:40 PMfresh-fireman-491
04/29/2024, 1:53 PMminiature-balloon-68733
04/29/2024, 3:57 PMminiature-balloon-68733
04/29/2024, 7:31 PMminiature-balloon-68733
04/29/2024, 7:46 PMcold-jewelry-54343
04/30/2024, 9:09 AMworkflow.phone
and {{workflow.phone}}
? also, what are you capturing on your single choice card ? if its the phone than it seems to be in the wrong position of your node stack, it should be before the find records. Hard to tell without having a peek within though.miniature-balloon-68733
04/30/2024, 1:36 PMmicroscopic-shampoo-2255
04/30/2024, 1:59 PMcold-jewelry-54343
04/30/2024, 2:04 PMmicroscopic-shampoo-2255
04/30/2024, 2:04 PMcold-jewelry-54343
04/30/2024, 2:05 PMcold-jewelry-54343
04/30/2024, 2:28 PMalways
moving on to the first video, the find records
actually does nothing here since the bottom flow always triggers. Do you only want to show the next message if the phonenumber matches the ones in your database ?
https://cdn.discordapp.com/attachments/1232337094685491290/1234874030943764511/brave_Qa3eF9mJtH.png?ex=6632518f&is=6631000f&hm=829c637f276fb2fb6f671c3f89ba211f87499673decb1c5eba97756ac3b110d4&miniature-balloon-68733
04/30/2024, 2:52 PMminiature-balloon-68733
04/30/2024, 2:53 PMcold-jewelry-54343
04/30/2024, 3:04 PM+55
than I suggest the following code instead of the Find records
:
js
try {
const clientNumbers = await Data1Table.findRecords({
filter: {"Phone":{"$regex":"^\\+55"}},
limit: 30,
offset: 0
})
workflow.phonearray = clientNumbers.map((product) => {
return {
name: product.name,
phone: product.Phone
}
})
} catch (error) {
console.log('Something went wrong: ', error)
}
miniature-balloon-68733
04/30/2024, 6:51 PMcold-jewelry-54343
04/30/2024, 7:08 PMlimit
to determine how many numbers you want to return.miniature-balloon-68733
04/30/2024, 7:10 PMcold-jewelry-54343
04/30/2024, 7:13 PMworkflow.phone
variable before hand (try a string first, if that not works try Array) .miniature-balloon-68733
04/30/2024, 7:24 PMminiature-balloon-68733
04/30/2024, 7:26 PMminiature-balloon-68733
04/30/2024, 7:31 PMcold-jewelry-54343
04/30/2024, 7:32 PMminiature-balloon-68733
04/30/2024, 7:55 PMminiature-balloon-68733
04/30/2024, 7:55 PMcold-jewelry-54343
04/30/2024, 7:56 PMminiature-balloon-68733
04/30/2024, 8:20 PMcold-jewelry-54343
05/01/2024, 12:42 AMminiature-balloon-68733
05/01/2024, 12:46 AMminiature-balloon-68733
05/02/2024, 2:08 PMgreen-receptionist-74667
07/08/2024, 11:57 AMlimited-pencil-78283
07/08/2024, 12:25 PM