Botpress inbox - Chat directly with your customer ...
# 📖tutorials
a

https://youtu.be/bCf-N-G0OpY

q
🚀
b
is this safe to use? can a member of the Botpress Team confirm that it's legit? considering that we are entering the 'Personal Access Token'
q
it's made by botpress developer @early-train-33247 this https://github.com/botpress/inbox his name is here, you can check yourself
c
Yes 🙂
It was developped by one of our employees @early-train-33247
Thanks for the video @agreeable-cricket-15390 !
a
You are welcom, and thank you for listening to our requests and constantly improving the application
c
Amazing community + the best product team = BEST PLATFORM ❤️
e
This is amazing @agreeable-cricket-15390, good job!!
h
Hey this is great thank you very much ! is there an option to download those conversations history so i can send it to my employees ?
Hey 🙂 is there an option to download those conversations history so i can send them to my employees ?
a
Try some of the tools for scraping websites, probably one can help you or at least speed up the process. Another option is copy paste. https://parsehub.com/ try this scraping tool
h
its not letting my to open this with mac unfortunatlly
e
Hey @high-grass-61783, there is no way to do that at the moment neither using this custom inbox or the Dashboard interface unfortunately, but I plan on implement this feature soon!
If i may ask, what do you want to do with the conversation list?
h
Ok great !
Well I’m designing a lead generation bot, and I want to provide my workers a context of the conversation of the lead with the bot
j
where did you get this video ?
e
You can make requests to the Botpress API using the Execute Code card! Once you get the conversation list you can format and display it however you like
@high-grass-61783 Pro tip: you can use the labels in the Code cards to generate code that consume the API and cater to your exact use cases!! 😉
s
+
l
@early-train-33247 I'm struggling with getting the conversation id. How do you do that?
c
Conversation ID can be found in the JSON.
@early-train-33247 is that required?
e
to use see the inbox it's not!
What do you need the id for? I could make it visible in the conversation details
l
@early-train-33247 I want to use the botpress API. This method: https://api.botpress.cloud/v1/chat/messages?conversationId={conversationId} But the one that is showing @crooked-van-25152 "Convo-1" is not valid. I want to get that method so I can email me the conversation with the client
e
convo-1 is a temporary id for conversations in the Studio, you can't use that outside of it
To get the conversations you need to make a GET request to https://api.botpress.cloud/v1/chat/conversations. Then you are going to have the list of conversations with their id
the inbox https://github.com/botpress/inbox makes it easy to see the messages but there's no exporting feature at the moment
c
Thanks Guilhermy
j
ay bros
how to see a user name ?
i have a capture name node but it dont work :/
c
@early-train-33247 will be better equipped to help here.
r
sorry if this is a stupid question, but is there a way to store the past conversation as a variable so that I can create a new flow when a conclusion intent has been triggered to summarize the conversation?
l
@early-train-33247 The problem is that I want to execute the get methods inside a botpress node. So I'm trying to get the conversation_id so I can manage getting the messages and later send them via mail to my inbox. But how can I get the conversation_id while I'm inside the flow of the chatbot? Don't know if I'm explaining myself right.
e
You always have the current conversation history available at {{conversation.SummaryAgent.transcript}} You can read that at the end and do something with it. Would that help?
That's the exact use case @rhythmic-lock-96 has. Try it out with transcript
c
Note though that you run into a problem unless your conversations are awfully simple - you CAN NOT summarize a very long task in one run, the input is limited. You will have to program. if the user has chatted a lot, you may not even have the full conversation in the transcript.
h
This inbox has changed - i can no longer access previous messages. It says "couldn't load older conversations" & "you have reached the limit of requests to the botpress API.... Please try again later" is this just a temp issue because I would have liked to know earlier so I could copy all the past conversations as I need it to evaluate the bot.
c
@early-train-33247
Are you able to help @high-afternoon-19612 ? thank you
r
where can I edit the prompt passed into GPT. I have the user input and the data source, but I want to give the bot more direction as to how to respond.
I can kinda do it in the check-knowledge, but the character limit makes it difficult
e
That's correct, the Summary Agent only saves summaries up to a certain size and transcripts up to a certain amount of lines
The best way to create this full history is with Hooks. It's a feature that control message events. Whenever there is a new message from the user or from the bot, a fullHistory variable will be appended
@lemon-receptionist-60189 and @cool-policeman-94412 check out this thread: https://discord.com/channels/1108396290624213082/1125092612425142272
You should create these hooks, and then at the end of the conversation you just send the fullHistory variable to your email or external service. (The AI label doesn't know the fullHistory variable, so write something like
send random string via email
, then you manually update the code to include the variable and your requirements)
l
Thank you @early-train-33247 !
e
Happy to help! 🦾🤖
q
Hey everyone 👋 Is there a way to customize the design of the inbox interface? I have built an automation with make.com which is summarizing the Question in the Botpress Chat, with the conection with ChatGPT. I want that this summarization gets shown in the little Chatboxes, on the left. Is such a customization possible?
c
Hey, did you know that you can now access the convo history directly in the dashboard?
@quick-spring-73635 just want to make sure you are referring to https://github.com/botpress/inbox when you're asking if the inbox can be customized!
@early-train-33247 would know best 🙂
e
Hey @quick-spring-73635! 1. You don't need to use Make.com to get ChatGPT integration, with Botpress you have that out-of-the-box with AI Tasks! Check out this video tutorial (

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

) and this documentation page (https://botpress.com/docs/cloud/toolbox/ai-task/) to learn more
2. What to you want to style? Just the message to show checkboxes? We don't have checkboxes yet but you can ask the AI Task to give back the summary using bullet points, which will be rendered properly on all channels
q
Hi 👋 Now I am customizing the Interface via the code from Github. Thank you so much guys for all the support and the fast answers!
e
Keep counting on our amazing community! Happy building! 🚀
60 Views