Hi @jack-ai
I’m sorry I thought you had already connected those dots. The referencing of the step data and your text processing should happen in the same Python step:
from pipedream.script_helpers import (steps, export)
import re
txt = steps[“trigger”][“event”][“newRow”]
# You're now ready to perform some actions like regex testinsg, etc.
# But remember that Python strings are immutable!
export('txt', txt)
This video explains how to use Step Exports with pre-built actions:
And this video shows how to use Step Exports with Node.js steps:
But the same concepts apply to Python as well.