naftiko: 1.0.0-alpha2 info: label: Klaviyo API — Flows description: 'Klaviyo API — Flows. 20 operations. Lead operation: Get Flow Action. Self-contained Naftiko capability covering one Klaviyo business surface.' tags: - Klaviyo - Flows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KLAVIYO_API_KEY: KLAVIYO_API_KEY capability: consumes: - type: http namespace: klaviyo-flows baseUri: https://a.klaviyo.com description: Klaviyo API — Flows business capability. Self-contained, no shared references. resources: - name: api-flow-actions-id path: /api/flow-actions/{id} operations: - name: getflowaction method: GET description: Get Flow Action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: fields[flow-action] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: fields[flow-message] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: fields[flow] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: include in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#relationships - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: updateflowaction method: PATCH description: Update Flow Action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-flow-actions-id-flow path: /api/flow-actions/{id}/flow operations: - name: getflowforflowaction method: GET description: Get Flow for Flow Action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: fields[flow] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flow-actions-id-flow-messages path: /api/flow-actions/{id}/flow-messages operations: - name: getflowactionmessages method: GET description: Get Messages For Flow Action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: fields[flow-message] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: filter in: query type: string description: 'For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#filtering
Allowed field(s)/operator(s):
`id`: `any`' - name: page[cursor] in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#pagination - name: page[size] in: query type: integer description: 'Default: 50. Min: 1. Max: 50.' - name: sort in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sorting - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flow-actions-id-relationships-flow path: /api/flow-actions/{id}/relationships/flow operations: - name: getflowidforflowaction method: GET description: Get Flow ID for Flow Action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flow-actions-id-relationships-flow-messages path: /api/flow-actions/{id}/relationships/flow-messages operations: - name: getmessageidsforflowaction method: GET description: Get Message IDs for Flow Action outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: filter in: query type: string description: 'For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#filtering
Allowed field(s)/operator(s):
`name`: `co' - name: page[cursor] in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#pagination - name: page[size] in: query type: integer description: 'Default: 50. Min: 1. Max: 50.' - name: sort in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sorting - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flow-messages-id path: /api/flow-messages/{id} operations: - name: getflowmessage method: GET description: Get Flow Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: fields[flow-action] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: fields[flow-message] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: fields[template] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: include in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#relationships - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flow-messages-id-flow-action path: /api/flow-messages/{id}/flow-action operations: - name: getactionforflowmessage method: GET description: Get Action for Flow Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: fields[flow-action] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flow-messages-id-relationships-flow-action path: /api/flow-messages/{id}/relationships/flow-action operations: - name: getactionidforflowmessage method: GET description: Get Action ID for Flow Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flow-messages-id-relationships-template path: /api/flow-messages/{id}/relationships/template operations: - name: gettemplateidforflowmessage method: GET description: Get Template ID for Flow Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flow-messages-id-template path: /api/flow-messages/{id}/template operations: - name: gettemplateforflowmessage method: GET description: Get Template for Flow Message outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: fields[template] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flows path: /api/flows operations: - name: getflows method: GET description: Get Flows outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields[flow-action] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: fields[flow] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: fields[tag] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: filter in: query type: string description: 'For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#filtering
Allowed field(s)/operator(s):
`id`: `any`' - name: include in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#relationships - name: page[cursor] in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#pagination - name: page[size] in: query type: integer description: 'Default: 50. Min: 1. Max: 50.' - name: sort in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sorting - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: createflow method: POST description: Create Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: additional-fields[flow] in: query type: array description: 'Request additional fields not included by default in the response. Supported values: ''definition''' - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-flows-id path: /api/flows/{id} operations: - name: getflow method: GET description: Get Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: additional-fields[flow] in: query type: array description: 'Request additional fields not included by default in the response. Supported values: ''definition''' - name: fields[flow-action] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: fields[flow] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: fields[tag] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: include in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#relationships - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: updateflow method: PATCH description: Update Flow Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: 'ID of the Flow to update. Ex: XVTP5Q' required: true - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteflow method: DELETE description: Delete Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: 'ID of the Flow to delete. Ex: XVTP5Q' required: true - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flows-id-flow-actions path: /api/flows/{id}/flow-actions operations: - name: getactionsforflow method: GET description: Get Actions for Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: fields[flow-action] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: filter in: query type: string description: 'For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#filtering
Allowed field(s)/operator(s):
`id`: `any`' - name: page[cursor] in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#pagination - name: page[size] in: query type: integer description: 'Default: 50. Min: 1. Max: 50.' - name: sort in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sorting - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flows-id-relationships-flow-actions path: /api/flows/{id}/relationships/flow-actions operations: - name: getactionidsforflow method: GET description: Get Action IDs for Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: filter in: query type: string description: 'For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#filtering
Allowed field(s)/operator(s):
`id`: `any`' - name: page[cursor] in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#pagination - name: page[size] in: query type: integer description: 'Default: 50. Min: 1. Max: 50.' - name: sort in: query type: string description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sorting - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flows-id-relationships-tags path: /api/flows/{id}/relationships/tags operations: - name: gettagidsforflow method: GET description: Get Tag IDs for Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true - name: api-flows-id-tags path: /api/flows/{id}/tags operations: - name: gettagsforflow method: GET description: Get Tags for Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: fields[tag] in: query type: array description: For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets - name: revision in: header type: string description: 'API endpoint revision (format: YYYY-MM-DD[.suffix])' required: true authentication: type: apikey key: Authorization value: '{{env.KLAVIYO_API_KEY}}' placement: header exposes: - type: rest namespace: klaviyo-flows-rest port: 8080 description: REST adapter for Klaviyo API — Flows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/flow-actions/{id} name: api-flow-actions-id description: REST surface for api-flow-actions-id. operations: - method: GET name: getflowaction description: Get Flow Action call: klaviyo-flows.getflowaction with: id: rest.id fields[flow-action]: rest.fields[flow-action] fields[flow-message]: rest.fields[flow-message] fields[flow]: rest.fields[flow] include: rest.include revision: rest.revision outputParameters: - type: object mapping: $. - method: PATCH name: updateflowaction description: Update Flow Action call: klaviyo-flows.updateflowaction with: id: rest.id revision: rest.revision body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/flow-actions/{id}/flow name: api-flow-actions-id-flow description: REST surface for api-flow-actions-id-flow. operations: - method: GET name: getflowforflowaction description: Get Flow for Flow Action call: klaviyo-flows.getflowforflowaction with: id: rest.id fields[flow]: rest.fields[flow] revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flow-actions/{id}/flow-messages name: api-flow-actions-id-flow-messages description: REST surface for api-flow-actions-id-flow-messages. operations: - method: GET name: getflowactionmessages description: Get Messages For Flow Action call: klaviyo-flows.getflowactionmessages with: id: rest.id fields[flow-message]: rest.fields[flow-message] filter: rest.filter page[cursor]: rest.page[cursor] page[size]: rest.page[size] sort: rest.sort revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flow-actions/{id}/relationships/flow name: api-flow-actions-id-relationships-flow description: REST surface for api-flow-actions-id-relationships-flow. operations: - method: GET name: getflowidforflowaction description: Get Flow ID for Flow Action call: klaviyo-flows.getflowidforflowaction with: id: rest.id revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flow-actions/{id}/relationships/flow-messages name: api-flow-actions-id-relationships-flow-messages description: REST surface for api-flow-actions-id-relationships-flow-messages. operations: - method: GET name: getmessageidsforflowaction description: Get Message IDs for Flow Action call: klaviyo-flows.getmessageidsforflowaction with: id: rest.id filter: rest.filter page[cursor]: rest.page[cursor] page[size]: rest.page[size] sort: rest.sort revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flow-messages/{id} name: api-flow-messages-id description: REST surface for api-flow-messages-id. operations: - method: GET name: getflowmessage description: Get Flow Message call: klaviyo-flows.getflowmessage with: id: rest.id fields[flow-action]: rest.fields[flow-action] fields[flow-message]: rest.fields[flow-message] fields[template]: rest.fields[template] include: rest.include revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flow-messages/{id}/flow-action name: api-flow-messages-id-flow-action description: REST surface for api-flow-messages-id-flow-action. operations: - method: GET name: getactionforflowmessage description: Get Action for Flow Message call: klaviyo-flows.getactionforflowmessage with: id: rest.id fields[flow-action]: rest.fields[flow-action] revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flow-messages/{id}/relationships/flow-action name: api-flow-messages-id-relationships-flow-action description: REST surface for api-flow-messages-id-relationships-flow-action. operations: - method: GET name: getactionidforflowmessage description: Get Action ID for Flow Message call: klaviyo-flows.getactionidforflowmessage with: id: rest.id revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flow-messages/{id}/relationships/template name: api-flow-messages-id-relationships-template description: REST surface for api-flow-messages-id-relationships-template. operations: - method: GET name: gettemplateidforflowmessage description: Get Template ID for Flow Message call: klaviyo-flows.gettemplateidforflowmessage with: id: rest.id revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flow-messages/{id}/template name: api-flow-messages-id-template description: REST surface for api-flow-messages-id-template. operations: - method: GET name: gettemplateforflowmessage description: Get Template for Flow Message call: klaviyo-flows.gettemplateforflowmessage with: id: rest.id fields[template]: rest.fields[template] revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flows name: api-flows description: REST surface for api-flows. operations: - method: GET name: getflows description: Get Flows call: klaviyo-flows.getflows with: fields[flow-action]: rest.fields[flow-action] fields[flow]: rest.fields[flow] fields[tag]: rest.fields[tag] filter: rest.filter include: rest.include page[cursor]: rest.page[cursor] page[size]: rest.page[size] sort: rest.sort revision: rest.revision outputParameters: - type: object mapping: $. - method: POST name: createflow description: Create Flow call: klaviyo-flows.createflow with: additional-fields[flow]: rest.additional-fields[flow] revision: rest.revision body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/flows/{id} name: api-flows-id description: REST surface for api-flows-id. operations: - method: GET name: getflow description: Get Flow call: klaviyo-flows.getflow with: id: rest.id additional-fields[flow]: rest.additional-fields[flow] fields[flow-action]: rest.fields[flow-action] fields[flow]: rest.fields[flow] fields[tag]: rest.fields[tag] include: rest.include revision: rest.revision outputParameters: - type: object mapping: $. - method: PATCH name: updateflow description: Update Flow Status call: klaviyo-flows.updateflow with: id: rest.id revision: rest.revision body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteflow description: Delete Flow call: klaviyo-flows.deleteflow with: id: rest.id revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flows/{id}/flow-actions name: api-flows-id-flow-actions description: REST surface for api-flows-id-flow-actions. operations: - method: GET name: getactionsforflow description: Get Actions for Flow call: klaviyo-flows.getactionsforflow with: id: rest.id fields[flow-action]: rest.fields[flow-action] filter: rest.filter page[cursor]: rest.page[cursor] page[size]: rest.page[size] sort: rest.sort revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flows/{id}/relationships/flow-actions name: api-flows-id-relationships-flow-actions description: REST surface for api-flows-id-relationships-flow-actions. operations: - method: GET name: getactionidsforflow description: Get Action IDs for Flow call: klaviyo-flows.getactionidsforflow with: id: rest.id filter: rest.filter page[cursor]: rest.page[cursor] page[size]: rest.page[size] sort: rest.sort revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flows/{id}/relationships/tags name: api-flows-id-relationships-tags description: REST surface for api-flows-id-relationships-tags. operations: - method: GET name: gettagidsforflow description: Get Tag IDs for Flow call: klaviyo-flows.gettagidsforflow with: id: rest.id revision: rest.revision outputParameters: - type: object mapping: $. - path: /v1/api/flows/{id}/tags name: api-flows-id-tags description: REST surface for api-flows-id-tags. operations: - method: GET name: gettagsforflow description: Get Tags for Flow call: klaviyo-flows.gettagsforflow with: id: rest.id fields[tag]: rest.fields[tag] revision: rest.revision outputParameters: - type: object mapping: $. - type: mcp namespace: klaviyo-flows-mcp port: 9090 transport: http description: MCP adapter for Klaviyo API — Flows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-flow-action description: Get Flow Action hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getflowaction with: id: tools.id fields[flow-action]: tools.fields[flow-action] fields[flow-message]: tools.fields[flow-message] fields[flow]: tools.fields[flow] include: tools.include revision: tools.revision outputParameters: - type: object mapping: $. - name: update-flow-action description: Update Flow Action hints: readOnly: false destructive: false idempotent: true call: klaviyo-flows.updateflowaction with: id: tools.id revision: tools.revision body: tools.body outputParameters: - type: object mapping: $. - name: get-flow-flow-action description: Get Flow for Flow Action hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getflowforflowaction with: id: tools.id fields[flow]: tools.fields[flow] revision: tools.revision outputParameters: - type: object mapping: $. - name: get-messages-flow-action description: Get Messages For Flow Action hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getflowactionmessages with: id: tools.id fields[flow-message]: tools.fields[flow-message] filter: tools.filter page[cursor]: tools.page[cursor] page[size]: tools.page[size] sort: tools.sort revision: tools.revision outputParameters: - type: object mapping: $. - name: get-flow-id-flow-action description: Get Flow ID for Flow Action hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getflowidforflowaction with: id: tools.id revision: tools.revision outputParameters: - type: object mapping: $. - name: get-message-ids-flow-action description: Get Message IDs for Flow Action hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getmessageidsforflowaction with: id: tools.id filter: tools.filter page[cursor]: tools.page[cursor] page[size]: tools.page[size] sort: tools.sort revision: tools.revision outputParameters: - type: object mapping: $. - name: get-flow-message description: Get Flow Message hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getflowmessage with: id: tools.id fields[flow-action]: tools.fields[flow-action] fields[flow-message]: tools.fields[flow-message] fields[template]: tools.fields[template] include: tools.include revision: tools.revision outputParameters: - type: object mapping: $. - name: get-action-flow-message description: Get Action for Flow Message hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getactionforflowmessage with: id: tools.id fields[flow-action]: tools.fields[flow-action] revision: tools.revision outputParameters: - type: object mapping: $. - name: get-action-id-flow-message description: Get Action ID for Flow Message hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getactionidforflowmessage with: id: tools.id revision: tools.revision outputParameters: - type: object mapping: $. - name: get-template-id-flow-message description: Get Template ID for Flow Message hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.gettemplateidforflowmessage with: id: tools.id revision: tools.revision outputParameters: - type: object mapping: $. - name: get-template-flow-message description: Get Template for Flow Message hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.gettemplateforflowmessage with: id: tools.id fields[template]: tools.fields[template] revision: tools.revision outputParameters: - type: object mapping: $. - name: get-flows description: Get Flows hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getflows with: fields[flow-action]: tools.fields[flow-action] fields[flow]: tools.fields[flow] fields[tag]: tools.fields[tag] filter: tools.filter include: tools.include page[cursor]: tools.page[cursor] page[size]: tools.page[size] sort: tools.sort revision: tools.revision outputParameters: - type: object mapping: $. - name: create-flow description: Create Flow hints: readOnly: false destructive: false idempotent: false call: klaviyo-flows.createflow with: additional-fields[flow]: tools.additional-fields[flow] revision: tools.revision body: tools.body outputParameters: - type: object mapping: $. - name: get-flow description: Get Flow hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getflow with: id: tools.id additional-fields[flow]: tools.additional-fields[flow] fields[flow-action]: tools.fields[flow-action] fields[flow]: tools.fields[flow] fields[tag]: tools.fields[tag] include: tools.include revision: tools.revision outputParameters: - type: object mapping: $. - name: update-flow-status description: Update Flow Status hints: readOnly: false destructive: false idempotent: true call: klaviyo-flows.updateflow with: id: tools.id revision: tools.revision body: tools.body outputParameters: - type: object mapping: $. - name: delete-flow description: Delete Flow hints: readOnly: false destructive: true idempotent: true call: klaviyo-flows.deleteflow with: id: tools.id revision: tools.revision outputParameters: - type: object mapping: $. - name: get-actions-flow description: Get Actions for Flow hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getactionsforflow with: id: tools.id fields[flow-action]: tools.fields[flow-action] filter: tools.filter page[cursor]: tools.page[cursor] page[size]: tools.page[size] sort: tools.sort revision: tools.revision outputParameters: - type: object mapping: $. - name: get-action-ids-flow description: Get Action IDs for Flow hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.getactionidsforflow with: id: tools.id filter: tools.filter page[cursor]: tools.page[cursor] page[size]: tools.page[size] sort: tools.sort revision: tools.revision outputParameters: - type: object mapping: $. - name: get-tag-ids-flow description: Get Tag IDs for Flow hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.gettagidsforflow with: id: tools.id revision: tools.revision outputParameters: - type: object mapping: $. - name: get-tags-flow description: Get Tags for Flow hints: readOnly: true destructive: false idempotent: true call: klaviyo-flows.gettagsforflow with: id: tools.id fields[tag]: tools.fields[tag] revision: tools.revision outputParameters: - type: object mapping: $.