Skip to content

MWM DatallogTurn local Python scripts into secure automations.

Create new automations or organize existing ones. Run integrations, scrapers, and AI scripts with built-in deployment, scheduling, and observability.

automations/hello/hello.py
from datallog import automation

@automation()
def hello(seed):
    name = (seed or {}).get("name", "world")
    return {"message": f"Hello, {name}!"}
$ datallog push
$ curl -X POST \
    $API/start-automation/my-project/hello \
    -H "Authorization: Token …" \
    -H "x-api-key: …"
# API=https://api-mwm.datallog.com/api

Simple as Python. Powerful as Cloud.

Write a standard function, decorate it, and push.

1. Example: from local script to automation ​

A simple example showing how a local Python script becomes an automation.

python
from datallog import automation

# Entry point: receives the input data
@automation()
def process_data(seed):
    items = seed.get("items", [])
    results = []
    # Process items
    for item in items:
        results.append(heavy_computation(item))
    return {"status": "done", "results": results}

2. Example: lead enrichment and qualification automation ​

A single automation to collect, qualify, and send leads to the sales team.

python
from datallog import automation

# A single automation to collect, qualify, and send leads
@automation()
def process_leads(seed):
    leads = get_data_leads(seed)
    
    for lead in leads:
        enrichment = enrich_company_data(lead["email"])
        score = calculate_score(enrichment)
        
        send_email(
            to="sales@company.com",
            subject="New qualified lead",
            body=f"{lead['email']} — score {score}"
        )
        
    return {"status": "done"}