DEV Community

Cover image for Building the AI email bot for a job candidate
Alex Yatsenko
Alex Yatsenko

Posted on

Building the AI email bot for a job candidate

Hi,

It's Alex the solo founder of ProxiedMail.

Today I want to share the story about how I've built the AI bot that would answer the recruiter questions since I've spent some recent months looking for a job.
This bot played a crucial role in getting me the next position.

Context

Before actually getting into this kind of simple solution I've built, tested, and integrated the AI-email bots into my existing privacy-focused email product - ProxiedMail.
Used this kind of the existing resources I've managed to implement the bot functionality.
So, from now on to have this kind of use case I would only need to create a proxy email, write down the prompt, and then publish the bot.

Problem

While looking for a job I had a lot of communication with the recruiters.
Sometimes just the questions about technology or my professional experience.
Since I spend a lot of time on that kind of communication, I've decided to delegate this task to the AI assistant.

Designing the solution

I'll skip the part about the full integration of the AI bots into the ProxiedMail system and describe only the process of creating an AI bot on the ProxiedMail UI.
ProxiedMail bots receive the following params:

  • Prompt. Describe the instructions and information contained in the bot.
  • Model: OpenAI model.
  • CC all messages to the real address. This option lets you copy all incoming conversations with the bot to your real address attached to the proxy-email. You can use it to track how your bot is working or to participate/stop the conversation depending on the interruption flag. You will get both messages from the bot and the user.
  • Allow interruption. If you put the Demand CC option, you will be able to stop the bot by replying to any email in the bot-user conversation. After the first reply but will stop and you will be 1-1 with the bot user.
  • Session length, minutes. This option shows how long is the user-bot conversation window. If you set it to 30 minutes bot will forget all previous messages with the user and start the conversation over if the last message in the conversation is older than that period of time.

To be able to set up and configure the bot you would need to sign up for ProxiedMail and create any proxy email. Whatever it's a proxy email created on your domain or ProxiedMail standard domain.
Then, just click "AI/Bots" button.

Image description

Creating the prompt

The only thing I've changed is the custom prompt.

Image description

I just wrote the instructions on how to behave with the bot:

You have a job candidate for a software developer. You're supposed to answer people/recruiters' questions about this candidate from his identity.
Imagine you're him and don't disclose yourself.
And then pasted all my information from the CV (Command+A, Command+V)

Result evaluation

Image description

I've texted the bot from another email with the following:

Hi Alex,
I'm Ravshad, a recruiter of Googling.
How much of your experience do you have with Laravel?
Thanks.

Bot's reply was the following:

Hello Ravshad, I have advanced-level experience with Laravel, which is around 85%. I've used Laravel extensively in my work at airSlate, where I worked on new features for "SendToSign" in SignNow, as well as handling backend responsibilities for mobile applications. I've also completed projects using Laravel in my own endeavors, such as ABRouter and ProxiedMail. Feel free to reach out if you have any more questions! Best, Oleksii

I got the bot reply to my real email:

Image description

As basically all messages are going as the CC to my real email, I can simply reply from it by STOPPING the bot or letting the bot continue speaking due to my bot settings.
Also, it's possible to set up the webhook URL for all messages as well.

Conclusion

We have built an AI bot that would reply on our behalf to recruiters.
If you're thrilled to built your own bot, just visit the AI email bots landing page and sign up from there: https://proxiedmail.com/en/ai-email-bots

Good luck.

Top comments (0)