/example-as-marketing-campaign

Primary LanguagePythonApache License 2.0Apache-2.0

Example: Python - Marketing Campaign Actions

This example demonstrates how to create Actions for the Robocorp Action Server to assist with customer data and marketing campaigns. These Actions can be integrated into automated workflows to enhance marketing strategies, offering a practical way to tailor content and offers to specific customer segments based on product interest.

Actions and Action Server enable you to "give your AI Agents hands" meaning that your AI/LLM Agent can help your users perform distinct actions that get executed based on the LLM discussion.

Quickstart

👉 Follow the Action Server Quickstart guide in the main repository.

Dependency management

Dependencies need to be added to package.yaml.

👉 package.yaml documentation in the main repository.

Actions in VS Code

👉 Using Robocorp Code extension for VS Code, you can get everything set up and running in VS Code in no time.

The template has a few files that enable the extension to find and set up your action environment and provide code completion. There is also a side panel where we have and will add some easy-to-use functionalities.

When debugging your Actions Python code, you probably do not want to give the inputs every time you run and always be running the Action Server. Robocorp Code integration allows you to run and debug actions from within VSCode, enabling custom input to be specified as .json files.

What does the example Action do?

This example uses a database with predifined queries that the LLM can call with the suitable parameters without creating any actual DB queries.

We leverage SQLite for database interactions, illustrating that the Python ecosystem offers a wide array of libraries and tools for custom Action development. Explore PyPI for additional libraries, including those specific to Robocorp, to enhance your Actions further.

🚀 Now, go get'em