Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2020-06-06 19:05:59

shotgun
Member
Registered: 2020-04-30
Posts: 39

Bot verify email address given

In a bot I'm trying to verify an email address was given or collect it.

In a response type 'Execute action' trigger I am asking for an email input, send that to an extension which verifies it against users in an external database, if found I'm setting chat->email chat->update and if not found I'm sending a failure flag which is all working. I tried adding a response type, 'Check for conditions' before it with lhc.email != value(blank), value null etc and am having no luck. Is there a way I could verify the email trigger has been run and answered and skip asking it again?

Thanks for reading it.

Offline

#2 2020-06-06 20:24:55

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Bot verify email address given

I’ll check on monday and if empty does not work I’ll add dedicated condition for that case.

Meanwhile tou can try to use “ Restrict execution more than defined times”

Offline

#3 2020-06-06 21:07:34

shotgun
Member
Registered: 2020-04-30
Posts: 39

Re: Bot verify email address given

Thanks for reply and I thought of the limit but also thought if mistake in address or typing or anything and limit was reached... 
In the same thought, in 'Check for conditions' you have a 'if conditions are met',  what about if not met?  Thanks again.

Offline

#4 2020-06-07 17:06:51

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Bot verify email address given

Yes that's good Idea. I'll do something about that on monday/tuesday smile

Offline

#5 2020-06-08 05:34:40

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Bot verify email address given

Please try these changes. Should solve your problem smile
https://github.com/LiveHelperChat/liveh … 7e5435b48f

Offline

#6 2020-06-08 15:06:55

shotgun
Member
Registered: 2020-04-30
Posts: 39

Re: Bot verify email address given

Excellent worked perfect, thank you, have a drink on me smile

Offline

#7 2020-06-08 15:47:47

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Bot verify email address given

Also you can check this article I have written today for some fancy things you can do big_smile
https://doc.livehelperchat.com/docs/bot … conditions

Offline

Board footer