All Products
Search
Document Center

Chat App Message Service:TriggerChatFlow

Last Updated:Jun 10, 2026

Memicu alur chat online yang memiliki pemicu manual.

Deskripsi operasi

  • You can call this operation to trigger a published version of a flow that has a manual trigger. You can also trigger the flow from the Marketing Campaign Management page if the flow is associated with a marketing campaign.

  • Before you call this operation, make sure that the flow has a manual trigger and is published.

  • If a flow with a manual trigger does not have a published version, you must publish it. In Chat Flow, you can click the flow name to open the canvas and publish the version. Alternatively, you can call the OnlineFlowVersion API to publish the version.

  • If your flow contains components that incur costs, such as message sending or function invocations, make sure that you understand the billing methods and pricing for these products before you trigger the flow.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

FlowCode

string

Yes

Kode alur. Lihat kode alur di halaman Flow Editor.

9ccc41**************************

Data

object

No

Parameter input dalam format key-value. Kunci harus sesuai dengan kebijakan parameter input yang dikonfigurasi di node awal alur. Untuk melihat nama variabel di node awal, buka Flow Editor, klik nama alur, lalu buka kanvas orkestrasi.

{ "my_biz_data_0": "hi", "my_biz_data_1": "1024" }

Uuid

string

No

ID unik kustom untuk event, digunakan untuk memastikan idempotensi. Jangan menyertakan semantik bisnis di ID. Setelah alur dipicu, Anda dapat mengambil parameter ini dari dalam alur.

c68622e6-5f0d-c8a4-af41-e949c2a7580e

OutId

string

No

Nomor seri kustom dari sistem eksternal. Gunakan parameter ini untuk mengaitkan pemicu dengan proses bisnis eksternal. Setelah alur dipicu, Anda dapat mengambil parameter ini dari dalam alur.

8d4acf7e-e360-eb83-6d74-fcf9c4538fda

ClaimTimeMillis

integer

No

Waktu saat event terjadi. Ini adalah saat alur dipicu dan biasanya merupakan waktu saat permintaan dibuat. Ini adalah Stempel waktu UNIX dalam milidetik.

1731502129000

DiscardTimeMillis

integer

No

Waktu saat event kedaluwarsa. Jika Anda menentukan parameter ini, pemicu akan dibatalkan jika permintaan tidak diproses sebelum waktu ini. Ini adalah Stempel waktu UNIX dalam milidetik.

1731502729000

Tidak ada.

Elemen respons

Element

Type

Description

Example

object

AccessDeniedDetail

string

Details about the access denied error.

None

RequestId

string

The request ID.

90E63D28-E31D-1EB2-8939-A94866411B2O

Message

string

The error message.

None

Data

object

The returned data.

Code

string

The status code.

OK

Success

boolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

Contoh

Respons sukses

JSONformat

{
  "AccessDeniedDetail": "None",
  "RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
  "Message": "None",
  "Data": {},
  "Code": "OK",
  "Success": true
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.