https://discord.gg/botpress logo
Automation BotPress Workflow
# 🤝help
a
I followed the user manual and configured botpress with zapier. The test trigger does in fact get my clients new leads info. Now, I need to setup the emailing process. Can I do that in botpress by adding some kind of node with some cards or could I configure the ai task card to email my clients new lead? https://cdn.discordapp.com/attachments/1370537468553592884/1370537468788740246/Stuck.png?ex=681fdbfb&is=681e8a7b&hm=62f7f5c63308d5e85f681db5cd0f7b846eb92fdd1b8d4cd1c3eb599e8b47df45&
l
Since you are triggering leads to your client using zapier, extend the function to send emails
a
Alright. Will do.
Do you have an example of what it could look like?
I do want the bot to talk to the client or if the client messages back
Like is there any api libraries I can use because I need the bot to use the knowledge base and talk to the person, but it also needs to respond to the new lead
I got this code from chatgpt, but of course there are issues with it. I am more concerned about this section of it:
Copy code
JavaScript
const BOTPRESS_API_URL = 'https://your-botpress-instance.com/api/v1';
const BOT_ID = 'your-bot-id';
const API_KEY = 'your-api-key';
Where do I get my bot instance, and the bot id? I know where the API_Key is at so that's fne https://cdn.discordapp.com/attachments/1370537468553592884/1371317650667606106/message.txt?ex=6822b295&is=68216115&hm=2d430d8e3ad722b95ddee2835a1f598319c751aed55870dfb9a42c32e49a28be&