okay i tried it out and it stores everything. But ...
# 🌎general
m
okay i tried it out and it stores everything. But now my next question is: Whe nthe visitor give his Full name like: Dwayne Johnson, then the Bot writes: Thank you very much Dwayne, Thank you very much dwayne Johnson. It always writes name and when he give the full name, he writes Name and the full name. How we can resolve that? At it needs 3 lines, because when he give only the last name, then it would better then the Bot calls him: "Mr Johnson" Can you please tell me how to do that? Thanks.
c
Hello Sebas! And welcome to the community 🙂
So the issue here is that in the same sentence it repeats the name twice. Name and then full name.
Can you send a screenshot of that specific node?
m
Hi Sabrina, thanks for your message. I hope you can understand what i did, because this is a bot for a german client. The bot starts asking with "whats your name?" the text comes up with the userName input. And after the client gave his name the bot is askin for his telephone number, it is a raw input, because this i have to store in the google sheet. On this input it shows up the following text: Thank you {{workflow.userName.first}}, Whats your phone number? Thank you Mr {{workflow.userName.last}}, whats your phone number?
And after that, same thing with the email it is also a raw input to store all the personal informations in a google sheet.
c
can you please show how you set up this text card
m
Thanks {{workflow.userName.first}}, did you have anymore questions? Thanks Mr {{workflow.userName.last}}, did you have any more questions?
i translated it for you into english
c
So if: Thanks {{workflow.userName.first}}, did you have anymore questions? Thanks Mr {{workflow.userName.last}}, did you have any more questions? are in the same card, the names will appear twice.
Why don't you just add one of those two in the text card?
m
I will try that, but how i will resolve the problem with the name, phone and email card? Because with these cards appear the text the first time, because there i cant use text cards, i need them as raw input to get the clients details on google sheets.
look there, now i used 2 cards at last and it comes out as well for 2 times
c
Can you please share a report ID?
@square-energy-41150
it will be easier for me to go through your workflow
s
# Sending a Problem Report Here's how to send the Botpress Team a problem report: 1. In the Botpress Cloud Studio, locate the "Help" icon in the bottom left corner of the screen. 2. Click "Report a problem" and follow the steps on the screen. 3. Copy the Report ID to your clipboard and provide it to a member of the Botpress Team on Discord.
message has been deleted
m
okay, where can i find it? im pretty new with botpress
ahh okay thanks
ok but when i click on the x i cant see that
c
You need to copy the ID you'll be given
and paste it here
it will disappear if you click the X
there should be a little button to copy the report ID 🙂
m
sorry i dont understand where i can find this id?
c
🙂
m
okay now i got it, thanks for your patience 🙂
21a01fab-860c-49e3-b1f0-333993c3bc8b
c
No problem at all 🙂
Ok give me some time, I'll upload your bot and check if I can find something!
m
ok great, thank you very much
c
So quick question that might challenge your workflow. When you ask for the name. Is it possible for you to make it clear that you're looking for the first name? You would then avoid having to use the Mr Mrs with the last name only.
Otherwise I think we could solve this with the AI task, but it might be tricky as you won't know if the last name is a HE or SHE or THEY.
To avoid all of that, I would simply refer to the person's first name. You would probably avoid a lot of potential mistakes.
m
I know what you mean, but this bot i do for a client. and he wants like that. In germany its more formally. With other words i need 3 options. 1. name for you 2. name and surename also your and 3. Mr or mrs only surename
c
ok, understood!
@famous-jewelry-85388 we could use your help here!
Here's what's needed: Sebas is building a bot, collecting name, phone number, email, etc. The info is saved in Google Sheet. When the user only gives a last name, Sebas wants to have the bot reply; thanks Mr/Mrs @lastname. Instead of having the bot say; thanks @lastname.
So have the 2 options.
Would the best way to achieve this be to add an AI task? What do you suggest here. thanks 🙂
Please @microscopic-teacher-56991 correct me if I'm wrong if my summarization!
m
looks good sabrina 😉
c
One little thing might be to also include in your workflow how the person wants to be addressed.
Bassam will be able to guide from here!
m
yes ok how ever you think
He can take his time, because i will answer tomorrow, here its late now, i was 12 hours on the pc today
😩
f
Hey guys, That's a tough question. Do we - by any means - know if they are a he or she or they?
I mean in the Google Sheet, does it specify?
I don't think the AI Task or AI Generate is enough in that case
can oyu give me couple of names to give it a try?
maybe GPT is trained on it
c
Yes..that's what I'm afraid as well. Might be worth including an extra step and ask how they'd like to be addressed.
m
Good morning guys, The idea for the bot is like that: The conversation starts and bot bot is asking, whats your name? But in germany so that the visitor doesnt feel bad, specially when he is already an adult person, it is much better to ask in the form of "she". After that there are 3 possibilities,: 1. the visitor gives only his Name, then the bot continues with "you" 2. He gives his full name, then the bot also continues with you. 3. When he gives only his lastname, then the bot continues with mr or mrs.
f
and the challenging part is the "then the bot continues with mr or mrs.". Correct?
m
yes exactly
f
So I was saying why don't you use the AI Task or the AI Generate, maybe an API call to one of those sites, maybe they have an API that helps. https://discord.com/channels/1108396290624213082/1175068171435266068/1175175061364297800
But first, evaluate it, are those sites good?
Can you check also if the AI task or the AI generate satisfy that need?
m
I dont know how to use, because i never used that before
whits api sites you mean? i never uses nothing like that before
Any news in that case?
f
Hi, We were off on weekend 🙂 Take a look on this 1 course: https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/
Then take a look here:

https://www.youtube.com/watch?v=z4dLcUfF8d0

And here:

https://www.youtube.com/watch?v=QIXjF4JcTqQ

m
thanks a lot i will check it out
f
Perfect! Keep us posted please 🙂 @microscopic-teacher-56991
35 Views