productivity
IFTTT CLI for AI Agents
Use the IFTTT CLI from KosmoKrator to call IFTTT tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.IFTTT CLI Setup
IFTTT can be configured headlessly with `kosmokrator integrations:configure ifttt`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure ifttt --set access_token="$IFTTT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor ifttt --json
kosmokrator integrations:status --json Credentials
Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
access_token | IFTTT_ACCESS_TOKEN | Secret secret | yes | Access Token |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call ifttt.ifttt_list_services '{"limit":1,"page":1}' --json kosmo integrations:ifttt ifttt_list_services '{"limit":1,"page":1}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs ifttt --json
kosmo integrations:docs ifttt.ifttt_list_services --json
kosmo integrations:schema ifttt.ifttt_list_services --json
kosmo integrations:search "IFTTT" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
ifttt.ifttt_list_services
List services in IFTTT with optional filters.
read - Parameters
- limit, page
kosmo integrations:call ifttt.ifttt_list_services '{"limit":1,"page":1}' --json kosmo integrations:ifttt ifttt_list_services '{"limit":1,"page":1}' --json ifttt.ifttt_get_service
Get detailed information about an IFTTT service.
read - Parameters
- id
kosmo integrations:call ifttt.ifttt_get_service '{"id":"example_id"}' --json kosmo integrations:ifttt ifttt_get_service '{"id":"example_id"}' --json ifttt.ifttt_list_applets
List applets in IFTTT with optional filters.
read - Parameters
- limit, page
kosmo integrations:call ifttt.ifttt_list_applets '{"limit":1,"page":1}' --json kosmo integrations:ifttt ifttt_list_applets '{"limit":1,"page":1}' --json ifttt.ifttt_get_applet
Get detailed information about an IFTTT applet.
read - Parameters
- id
kosmo integrations:call ifttt.ifttt_get_applet '{"id":"example_id"}' --json kosmo integrations:ifttt ifttt_get_applet '{"id":"example_id"}' --json ifttt.ifttt_list_connections
List connections in IFTTT with optional filters.
read - Parameters
- limit, page
kosmo integrations:call ifttt.ifttt_list_connections '{"limit":1,"page":1}' --json kosmo integrations:ifttt ifttt_list_connections '{"limit":1,"page":1}' --json ifttt.ifttt_get_connection
Get detailed information about an IFTTT connection.
read - Parameters
- id
kosmo integrations:call ifttt.ifttt_get_connection '{"id":"example_id"}' --json kosmo integrations:ifttt ifttt_get_connection '{"id":"example_id"}' --json ifttt.ifttt_get_current_user
Get the currently authenticated IFTTT user.
read - Parameters
- none
kosmo integrations:call ifttt.ifttt_get_current_user '{}' --json kosmo integrations:ifttt ifttt_get_current_user '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
ifttt.ifttt_list_services 2 parameters
kosmo integrations:schema ifttt.ifttt_list_services --json | Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Max number of services to return. |
page | integer | no | Page number for pagination. |
ifttt.ifttt_get_service 1 parameters
kosmo integrations:schema ifttt.ifttt_get_service --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The service ID. |
ifttt.ifttt_list_applets 2 parameters
kosmo integrations:schema ifttt.ifttt_list_applets --json | Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Max number of applets to return. |
page | integer | no | Page number for pagination. |
ifttt.ifttt_get_applet 1 parameters
kosmo integrations:schema ifttt.ifttt_get_applet --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The applet ID. |
ifttt.ifttt_list_connections 2 parameters
kosmo integrations:schema ifttt.ifttt_list_connections --json | Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Max number of connections to return. |
page | integer | no | Page number for pagination. |
ifttt.ifttt_get_connection 1 parameters
kosmo integrations:schema ifttt.ifttt_get_connection --json | Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | The connection ID. |
ifttt.ifttt_get_current_user 0 parameters
kosmo integrations:schema ifttt.ifttt_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.