Automation
Cloud functions
Cloud functions let you augment Turbofy's default behavior with your own code — custom data validation, third-party API integrations, and bespoke logic.
Uploading a function
Upload Python-, Ruby- or Node.js-based functions from the Functions screen. Each function gets a runtime, a status, and an invocable Function URL.
python
def handler(event, context):
record = event["record"]
# custom validation, enrichment, or a 3rd-party call
if not record.get("email"):
return { "error": "email is required" }
return { "ok": True }Where functions run
Functions are called from flows as an action, or hit directly via their Function URL. Use them when a flow needs logic beyond the built-in actions — validating input, calling an external service, or transforming a payload.
Functions augment behavior; they don't replace the schema. Keep data shape in tables and reach for a function when you need custom processing.