GetFlow

Updated at:

Retrieves the details of a connection flow.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

appflow:GetFlow

get

*Flow

acs:appflow:{#regionId}:{#accountId}:flow/{#FlowId}

None None

Request parameters

Parameter

Type

Required

Description

Example

FlowId

string

Yes

The ID of the connection flow.

flow-xxxxx

FlowVersion

string

No

The version of the connection flow.

6

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

B6E1E38D-011F-5368-ADD8-4DC278254AA3

Flow

object

The connection flow object.

FlowId

string

The ID of the connection flow.

flow-xxxxxxxx

FlowVersion

string

The version of the connection flow.

2

FlowName

string

The name of the connection flow.

WeChat connection flow 1

FlowDesc

string

The description of the connection flow.

Send to a DingTalk group chat as an AI card. To support private chats, use a template that supports both group and private chats

Enabled

string

Indicates whether the connection flow is enabled.

true

FlowVersionStatus

string

The version status of the connection flow.

1

FlowTemplate

string

The content of the connection flow template.

{ "FormatVersion": "appflow-2025-07-01", "Nodes": [ {} ] }

GmtCreate

string

The creation time.

2025-07-30T02:13:22Z

GmtModified

string

The modification time.

2025-11-13T02:11:56Z

FlowNodes

array<object>

The list of connection flow nodes.

[{"FlowId":"flow-856cb84b309747e48b43","FlowVersion":"1","ConnectorId":"connector-xxx24b139c62","ConnectorVersion":"2","RefId":"trigger-xxxxxxxxxx","RefVersion":"1","NodeId":"fn-xxxxxxxx","NodeKey":"Node1","NodeName":"NotifyMessage_1","NodeType":"Trigger","PrevNodeId":"fn-xxxxx,fn-yyyyyy","InputSchema":"{}","AuthMetadata":"{\\\"authconfigId\\\":\\\"uac-xxxxxxxxx\\\"}","WebhookUrl":"https://{uid}.computenest.aliyun.com/webhook/xxxxxxxx"}]

object

FlowId

string

The ID of the connection flow.

flow-856cb84b309747e48b43

FlowVersion

string

The version of the connection flow.

1

ConnectorId

string

The ID of the connector.

connector-xxx24b139c62

ConnectorVersion

string

The version of the connector.

2

RefId

string

The ID of the trigger or action.

trigger-xxxxxxxxxx

RefVersion

string

The version of the trigger or action.

1

NodeId

string

The ID of the node.

fn-xxxxxxxx

NodeKey

string

The key of the node.

Node1

NodeName

string

The name of the node.

NotifyMessage_1

NodeType

string

The type of the node.

Trigger

PrevNodeId

string

The ID of the previous node.

fn-xxxxx,fn-yyyyyy

InputSchema

string

The metadata of the node.

{}

AuthMetadata

string

The credential information of the node.

{\"authconfigId\":\"uac-xxxxxxxxx\"}

WebhookUrl

string

The webhook URL.

https://{uid}.computenest.aliyun.com/webhook/xxxxxxxx

Tags

array<object>

The list of tags.

object

Key

string

The key of the tag. The maximum length is 64 characters.

Environment

Value

string

The value of the tag.

pre

Examples

Success response

JSON format

{
  "RequestId": "B6E1E38D-011F-5368-ADD8-4DC278254AA3",
  "Flow": {
    "FlowId": "flow-xxxxxxxx",
    "FlowVersion": "2",
    "FlowName": "WeChat Connection Flow 1",
    "FlowDesc": "Sends to a DingTalk group chat in AI card format. To support private chat, use a template that supports both group chat and private chat",
    "Enabled": "true",
    "FlowVersionStatus": "1",
    "FlowTemplate": "{\n  \"FormatVersion\": \"appflow-2025-07-01\",\n  \"Nodes\": [\n        {}\n   ]\n}",
    "GmtCreate": "2025-07-30T02:13:22Z",
    "GmtModified": "2025-11-13T02:11:56Z",
    "FlowNodes": [
      {
        "FlowId": "flow-856cb84b309747e48b43",
        "FlowVersion": "1",
        "ConnectorId": "connector-xxx24b139c62",
        "ConnectorVersion": "2",
        "RefId": "trigger-xxxxxxxxxx",
        "RefVersion": "1",
        "NodeId": "fn-xxxxxxxx",
        "NodeKey": "Node1",
        "NodeName": "NotifyMessage_1",
        "NodeType": "Trigger",
        "PrevNodeId": "fn-xxxxx,fn-yyyyyy",
        "InputSchema": "{}",
        "AuthMetadata": "{\\\"authconfigId\\\":\\\"uac-xxxxxxxxx\\\"}",
        "WebhookUrl": "https://{uid}.computenest.aliyun.com/webhook/xxxxxxxx"
      }
    ],
    "Tags": [
      {
        "Key": "Environment",
        "Value": "pre"
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.