Python snippets by Workato
The Python snippets by Workato connector allows you to write and execute custom Python code in your recipes.
Python is a popular programming language used for web applications, data pipelines, and machine learning.
Workato's Python snippets by Workato connector enables you to perform the following tasks:
- Transform data, such as converting date formats.
- Convert file formats, such as CSV to JSON.
- Process large datasets by breaking batches into smaller chunks, such as splitting 5,000 records into chunks of 500 to prevent API timeouts.
Learn more about executing Python code.
Use cases
Use Python to automate complex workflows, process data, and enhance integrations across your business applications. The Python snippets by Workato connector provides flexibility and control to generate reports, transform datasets, and script custom automations. Explore our use cases to discover how you can improve automation with Python:
- Export Workday workers to a CSV file with Python and upload the file to Google Drive.
Supported features
Runtime version
The Python snippets by Workato connector runs on Python 3.9 or later.
Libraries
The connector supports the standard libraries included in Python 3.9 or later and the following additional libraries:
| Library | Supported version |
|---|---|
| bcrypt | 5.0.0 |
| certifi | 2026.1.4 |
| cffi | 2.0.0 |
| charset-normalizer | 3.4.4 |
| cryptography | 46.0.5 |
| et_xmlfile | 2.0.0 |
| idna | 3.11 |
| lxml | 6.0.2 |
| msgpack | 1.1.2 |
| msoffcrypto-tool | 5.4.2 |
| numpy | 2.0.2 |
| olefile | 0.47 |
| openpyxl | 3.1.5 |
| pandas | 2.3.3 |
| pillow | 11.3.0 |
| pycparser | 2.23 |
| pypdf | 6.7.1 |
| python-dateutil | 2.9.0.post0 |
| python-pptx | 1.0.2 |
| pytz | 2025.2 |
| pyxlsb | 1.0.10 |
| requests | 2.32.5 |
| six | 1.17.0 |
| typing_extensions | 4.15.0 |
| tzdata | 2025.3 |
| urllib3 | 2.6.3 |
| xlrd | 2.0.2 |
| xlsxwriter | 3.2.9 |
Additional libraries aren't currently supported.
Limits
The Python snippets by Workato connector has the following limits:
Additionally, user-provided libraries are not supported.
Actions
The Python snippets by Workato connector supports the following action:
Connecting to Workato
The Python snippets by Workato connector doesn't require setup configuration. Search for Python in the App tab and click the icon to get started.
Last updated: