Documentation Index
Fetch the complete documentation index at: https://docs.jinba.io/llms.txt
Use this file to discover all available pages before exploring further.
Intercom ツールを使用すると、Intercom 上でコンタクトの作成、メッセージ送信、顧客イベントの追跡、会話の取得を行えます。
主な機能
INTERCOM_CREATE_USER
INTERCOM_SEND_MESSAGE
INTERCOM_TRACK_EVENT
INTERCOM_GET_CONVERSATION
詳細は Intercom認証情報 を参照してください。
これらのツールには Intercom access token が必要です。返信系のフローでは Intercom admin ID を入力値として使う場合があります。
注意: API キーは機密情報として扱い、公開リポジトリにコミットしないでください。
例: ユーザー作成、メッセージ送信、イベント追跡、会話取得
- id: create_user
tool: INTERCOM_CREATE_USER
config:
- name: access_token
value: "{{secrets.INTERCOM_ACCESS_TOKEN}}"
input:
- name: email
value: "customer@example.com"
- name: name
value: "Intercom Flow Test User"
- id: send_message
tool: INTERCOM_SEND_MESSAGE
needs:
- create_user
config:
- name: access_token
value: "{{secrets.INTERCOM_ACCESS_TOKEN}}"
input:
- name: from
value: '{"type":"admin","id":"{{secrets.INTERCOM_ADMIN_ID}}"}'
- name: to
value: '{"type":"user","id":"{{steps.create_user.result.id}}"}'
- name: body
value: "Hello from JinbaFlow!"
- id: track_event
tool: INTERCOM_TRACK_EVENT
needs:
- create_user
config:
- name: access_token
value: "{{secrets.INTERCOM_ACCESS_TOKEN}}"
input:
- name: event_name
value: "flow_test_event"
- name: email
value: "{{steps.create_user.result.email}}"
- name: metadata
value: '{"source":"jinbaflow"}'
- id: get_conversation
tool: INTERCOM_GET_CONVERSATION
needs:
- send_message
config:
- name: access_token
value: "{{secrets.INTERCOM_ACCESS_TOKEN}}"
input:
- name: conversation_id
value: "{{steps.send_message.result.conversation_id}}"