Robocorp provides core Python libraries for robotic process automation (RPA), enabling developers to create and manage automated tasks. It includes modules for task orchestration, work item management, and integration with the Robocorp platform. The current version is 3.1.1, with regular updates typically released multiple times per quarter.
pip install robocorpVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates creating a simple Robocorp task that reads data from an input work item, processes it, and then writes the result to an output work item. It highlights the core 'task' decorator and 'workitems' modules, which are central to Robocorp automations.
For new projects or updated features, `pip install rpaframework-browser rpaframework-windows` and update imports to `from rpaframework.browser import ...` or `from rpaframework.windows import ...`.
Update imports to `from robocorp.tasks import task` for task decorators and `from robocorp.workitems import inputs, outputs` for work item management.
Create a `work-items` directory in your project root with `input.json` (and optionally `output.json`) files containing sample data. Use `rcc` or `python -m robocorp.tasks run` commands for local execution to ensure the environment is correctly set up.
Understand the role of each tool in the Robocorp ecosystem. Install `rcc` separately for environment control, and `robocorp-action-server` if you need to create HTTP APIs for your automations.
pip install robocorp
Install the Robocorp Command Center (RCC) tool from the official Robocorp website or via the Robocorp Lab / VS Code extension.
Create a `work-item-in` directory in your robot's root and populate it with a `work-item.json` file or other necessary input files.
Ensure the task function is decorated with `@task` from `robocorp.tasks` and that the name used to invoke the task (e.g., with `rc task run`) exactly matches the function name.
No dependency data recorded yet.