Skip to content

smypmsa/RPA-Email-Responder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPA Email Responder

The RPA bot is built using Robocorp. It reads and categorizes emails, responds to them. Categorization is token-based (see resources). The current categories are the following - billing, support, inquiry.

The bot can be published to Robocorp Control Room with the email trigger and launched using cloud workers (240 minutes free). The process is triggered by new emails. All logs, including exceptions, are stored in Control Room.

It would be more convinient to set up a separate mailbox. You can enable forwarding all requests to the email trigger address generated in Conrol Room. The bot can reply to emails using the created mailbox. Save credentials to the mailbox as a secret in Control Room.

Template: Python - Minimal

This template leverages the new Python framework, the libraries from to same project as well.

The template provides you with the basic structure of a Python project: logging out of the box and controlling your tasks without fiddling with the base Python stuff. The environment contains the most used libraries, so you do not have to start thinking about those right away.

👉 Other templates are available as well via our tooling and on our Portal

Running

VS Code

  1. Get Robocorp Code -extension for VS Code.
  2. You'll get an easy-to-use side panel and powerful command-palette commands for running, debugging, code completion, docs, etc.

Command line

  1. Get RCC
  2. Use the command: rcc run

Results

🚀 After running the bot, check out the log.html under the output -folder.

Dependencies

We strongly recommend getting familiar with adding your dependencies in conda.yaml to control your Python dependencies and the whole Python environment for your automation.

🙋‍♂️ "Why not just pip install...?"

Think of conda.yaml as an equivalent of the requirements.txt, but much better. 👩‍💻 With conda.yaml, you are not just controlling your PyPI dependencies; you control the complete Python environment, which makes things repeatable and easy.

👉 You will probably need to run your code on another machine quite soon, so by using conda.yaml:

  • You can avoid Works on my machine -cases
  • You do not need to manage Python installations on all the machines
  • You can control exactly which version of Python your automation will run on
    • You'll also control the pip version to avoid dep. resolution changes
  • No need for venv, pyenv, ... tooling and knowledge sharing inside your team.
  • Define dependencies in conda.yaml, let our tooling do the heavy lifting.
  • You get all the content of conda-forge without any extra tooling

Dive deeper with these resources.


The full power of rpaframework -libraries is also available on Python as a backup while we implement the new Python libraries.

What now?

🚀 Now, go get'em

Start writing Python and remember that the AI/LLM's out there are getting really good and creating Python code specifically.

👉 Try out Robocorp ReMark 💬

For more information, do not forget to check out the following:

About

Robocorp RPA bot for responding to emails

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages