naftiko: 1.0.0-alpha2 info: label: Gong Engage API — Flows description: 'Gong Engage API — Flows. 2 operations. Lead operation: Gong List Engage flows. Self-contained Naftiko capability covering one Gong business surface.' tags: - Gong - Flows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GONG_API_KEY: GONG_API_KEY capability: consumes: - type: http namespace: engage-flows baseUri: https://api.gong.io/v2 description: Gong Engage API — Flows business capability. Self-contained, no shared references. resources: - name: flows path: /flows operations: - name: listengageflows method: GET description: Gong List Engage flows outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: flowOwnerEmail in: query type: string description: Filter flows by the owner's email address. - name: cursor in: query type: string description: A cursor for pagination. Pass the cursor from the previous response to retrieve the next page of results. - name: workspaceId in: query type: string description: Filter flows by workspace ID. - name: flows-flowId-content-override path: /flows/{flowId}/content-override operations: - name: overrideflowcontent method: PUT description: Gong Override flow content outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: flowId in: path type: string description: The unique identifier of the Engage flow. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GONG_API_KEY}}' exposes: - type: rest namespace: engage-flows-rest port: 8080 description: REST adapter for Gong Engage API — Flows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/flows name: flows description: REST surface for flows. operations: - method: GET name: listengageflows description: Gong List Engage flows call: engage-flows.listengageflows with: flowOwnerEmail: rest.flowOwnerEmail cursor: rest.cursor workspaceId: rest.workspaceId outputParameters: - type: object mapping: $. - path: /v1/flows/{flowid}/content-override name: flows-flowid-content-override description: REST surface for flows-flowId-content-override. operations: - method: PUT name: overrideflowcontent description: Gong Override flow content call: engage-flows.overrideflowcontent with: flowId: rest.flowId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: engage-flows-mcp port: 9090 transport: http description: MCP adapter for Gong Engage API — Flows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gong-list-engage-flows description: Gong List Engage flows hints: readOnly: true destructive: false idempotent: true call: engage-flows.listengageflows with: flowOwnerEmail: tools.flowOwnerEmail cursor: tools.cursor workspaceId: tools.workspaceId outputParameters: - type: object mapping: $. - name: gong-override-flow-content description: Gong Override flow content hints: readOnly: false destructive: false idempotent: true call: engage-flows.overrideflowcontent with: flowId: tools.flowId body: tools.body outputParameters: - type: object mapping: $.