cFlows: A powerful workflow automation tool
cFlows automates workflows effortlessly with instant triggers, dynamic variables, and seamless integrations. 🚀
Getting started
Once you have created a cFlow, you will get a url like https://cronhooks.cflows.app/daf27063-9494-4bc0-a349-55ee7fbe8eg7
. This URL serves as an entry point to trigger your automation from anywhere—making integration and execution seamless.
You can trigger your cFlow using a simple HTTP request. For example, using cURL:
curl -X POST https://cronhooks.cflows.app/daf27063-9494-4bc0-a349-55ee7fbe8eg7 -d \
{
"email": "[email protected]",
"subject": "Welcome!",
"sendAt": "2023-02-01T13:00:00"
}
Request building
cFlows provides flexible request customization, supporting flow-level variables and global variables in all subsequent requests:
- Use
${_GLOBAL['VARIABLE_NAME']}
to access global variables. - Use
${_ENV['VARIABLE_NAME']}
for flow-level variables. - Reference request parameters using
${req['param_name']}
. - Utilize responses from parent requests:
${responses[0]['body']['your_param']}
. - Access nested parameters with
${responses[1]['body']['your_param']['nested_param']}
.
This dynamic approach allows you to build adaptive workflows that interact seamlessly across multiple applications.
Builtin functions
cFlows includes powerful built-in functions to enhance automation. These functions empower users to perform calculations, format dates, generate unique identifiers, and apply cryptographic hashing within their workflows.
Usage | Output |
---|---|
${now()} | 2025-02-28T14:38:37.481763 (UTC) |
${now('Europe/London')} | 2025-02-28T15:38:37.481763 |
${addDays(now(), 2)} | 2025-03-02T14:38:37.481763 |
${AddHours(now(), 2)} | 2025-03-02T16:38:37.481763 |
${addMinutes(now(), 2)} | 2025-03-02T14:40:37.481763 |
${addSeconds(now(), 2)} | 2025-03-02T14:40:39.481763 |
${addMonths(now(), 2)} | 2025-05-02T14:40:37.481763 |
${addYears(now(), 2)} | 2027-03-02T14:40:37.481763 |
${formatDate(now(), '%Y-%m-%d')} | 2025-02-28 more formats↗ |
${timestamp()} | 1740825220 |
${upper('abc')} | ABC |
${lower('ABC')} | abc |
${length('ABC')} | 3 |
${replace('abc', 'c', 'd')} | abd |
${substring('ABC', 0, 1)} | A |
${capitalize('abc')} | Abc |
${uuid()} | 7c6c2bb6-1e50-40d4-868b-bfe8350f1bec |
${md5('abc')} | 900150983cd24fb0d6963f7d28e17f72 |
${sha1('abc')} | a9993e364706816aba3e25717850c26... |
${sha256('abc')} | ba7816bf8f01cfea414140de5dae2... |
${sha512('abc')} | ddaf35a193617abacc417349ae204... |