KosmoKrator

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, configure, and verify
# 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.

KeyEnv varTypeRequiredLabel
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.

Generic CLI call
kosmo integrations:call ifttt.ifttt_list_services '{"limit":1,"page":1}' --json
Provider shortcut
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.

Discovery commands
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 read
Parameters
limit, page
Generic call
kosmo integrations:call ifttt.ifttt_list_services '{"limit":1,"page":1}' --json
Shortcut
kosmo integrations:ifttt ifttt_list_services '{"limit":1,"page":1}' --json

ifttt.ifttt_get_service

Get detailed information about an IFTTT service.

Read read
Parameters
id
Generic call
kosmo integrations:call ifttt.ifttt_get_service '{"id":"example_id"}' --json
Shortcut
kosmo integrations:ifttt ifttt_get_service '{"id":"example_id"}' --json

ifttt.ifttt_list_applets

List applets in IFTTT with optional filters.

Read read
Parameters
limit, page
Generic call
kosmo integrations:call ifttt.ifttt_list_applets '{"limit":1,"page":1}' --json
Shortcut
kosmo integrations:ifttt ifttt_list_applets '{"limit":1,"page":1}' --json

ifttt.ifttt_get_applet

Get detailed information about an IFTTT applet.

Read read
Parameters
id
Generic call
kosmo integrations:call ifttt.ifttt_get_applet '{"id":"example_id"}' --json
Shortcut
kosmo integrations:ifttt ifttt_get_applet '{"id":"example_id"}' --json

ifttt.ifttt_list_connections

List connections in IFTTT with optional filters.

Read read
Parameters
limit, page
Generic call
kosmo integrations:call ifttt.ifttt_list_connections '{"limit":1,"page":1}' --json
Shortcut
kosmo integrations:ifttt ifttt_list_connections '{"limit":1,"page":1}' --json

ifttt.ifttt_get_connection

Get detailed information about an IFTTT connection.

Read read
Parameters
id
Generic call
kosmo integrations:call ifttt.ifttt_get_connection '{"id":"example_id"}' --json
Shortcut
kosmo integrations:ifttt ifttt_get_connection '{"id":"example_id"}' --json

ifttt.ifttt_get_current_user

Get the currently authenticated IFTTT user.

Read read
Parameters
none
Generic call
kosmo integrations:call ifttt.ifttt_get_current_user '{}' --json
Shortcut
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
Schema command
kosmo integrations:schema ifttt.ifttt_list_services --json
ParameterTypeRequiredDescription
limit integer no Max number of services to return.
page integer no Page number for pagination.
ifttt.ifttt_get_service 1 parameters
Schema command
kosmo integrations:schema ifttt.ifttt_get_service --json
ParameterTypeRequiredDescription
id string yes The service ID.
ifttt.ifttt_list_applets 2 parameters
Schema command
kosmo integrations:schema ifttt.ifttt_list_applets --json
ParameterTypeRequiredDescription
limit integer no Max number of applets to return.
page integer no Page number for pagination.
ifttt.ifttt_get_applet 1 parameters
Schema command
kosmo integrations:schema ifttt.ifttt_get_applet --json
ParameterTypeRequiredDescription
id string yes The applet ID.
ifttt.ifttt_list_connections 2 parameters
Schema command
kosmo integrations:schema ifttt.ifttt_list_connections --json
ParameterTypeRequiredDescription
limit integer no Max number of connections to return.
page integer no Page number for pagination.
ifttt.ifttt_get_connection 1 parameters
Schema command
kosmo integrations:schema ifttt.ifttt_get_connection --json
ParameterTypeRequiredDescription
id string yes The connection ID.
ifttt.ifttt_get_current_user 0 parameters
Schema command
kosmo integrations:schema ifttt.ifttt_get_current_user --json
ParameterTypeRequiredDescription
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.