Automations
Automations run when records change, on a schedule, on demand, or when a webhook URL is called.

Trigger types
| Trigger | Runs when |
|---|---|
| On Create | A record is created in InfoLobby or through a web form |
| On Update | A record is updated in InfoLobby |
| On Delete | A record is deleted in InfoLobby |
| On Schedule | A configured time arrives |
| On Demand | You run it manually |
| On Webhook | A GET or POST request hits the trigger URL |

Build options
Use the visual builder for common workflows: conditions, loops, record actions, email, HTTP requests, and AI prompts.
Use PHPScript when you need full control.

Visual builder steps
| Category | Step | What it does |
|---|---|---|
| Data | Query Records | Fetch records from a table into a collection variable |
| Data | Get Record | Fetch a single record by ID |
| Data | Get Related | Fetch records from a related table for a selected source record |
| Logic | Set Variable | Assign a value to a variable |
| Logic | For Each | Loop over a collection |
| Logic | If / Condition | Branch based on a condition (with optional else) |
| Logic | Stop Flow | Halt execution with optional reason |
| Actions | Create Record | Insert a new record |
| Actions | Update Record | Modify an existing record |
| Actions | Delete Record | Remove a record |
| Actions | Send Email | Send via SMTP connection |
| Actions | HTTP Request | GET/POST/PUT/PATCH/DELETE to a URL |
| Actions | AI Prompt | Send a prompt to OpenAI |
| Actions | Log Message | Write to the flow log |
Tokens
Inside the visual builder, use {{record.fieldName}} to reference the trigger record's fields. For update triggers, {{before.fieldName}} gives the previous value.
Webhook triggers have {{webhook.get}}, {{webhook.post}}, {{webhook.headers}}, and {{webhook.body}}.
Variables from prior steps are available as {{varName}} (scalars) or {{varName.fieldName}} (objects/loop items).
Multi-workspace access
In the flow settings panel, you can grant a flow access to tables in other workspaces where you are an admin. This lets you query or modify data across workspaces.
Common PHPScript helpers
record_get,record_create,record_update,record_delete,records_query,records_countsql_select,sql_insert,sql_update,sql_deletecurl_get,curl_post_json,curl_post_form,curl_requestsmtp_email_sendopenai_gpt,openai_assistantsys_current_date,sys_current_datetime,sys_log