# Python snippets by Workato

The Python snippets by Workato connector allows you to write and execute custom Python (opens new window) 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:

# 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 (opens new window) and the following additional libraries:

Additional libraries aren't currently supported.

# Limits

The Python snippets by Workato connector has the following limits:

Description Limit Notes
Memory limit for Python connector actions, including libraries, temporary memory, and inputs256 MBNA
Timeout for Python connector actions90 secondsNA
Maxium code field size (scripts) for Python connector actions1 MBNA
Maximum size limit for PDF files processed with the pypdf library35 MBNA
Maximum size limit for CSV files processed with the Pandas library20 MBThis limit accounts for Pandas’ temporary storage requirements.
Maximum size limit for Excel files processed with the Pandas library5 MBUncompressing Excel files requires additional memory.
Read request timeout for Python evaluation in actions90 secondsThis limit applies to the following action:
  • Invoke custom Python code action

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: 7/30/2025, 11:13:23 PM