{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"Integrations","type":"markdown"},"seo":{"title":"LINE OA Streaming Export Integration","description":"Real-time message delivery to LINE users through Treasure AI's activation workflows, enabling instant communication using LINE Official Account Messaging API.","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]},"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"line-oa-streaming-export-integration","__idx":0},"children":["LINE OA Streaming Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["LINE Official Account (LINE OA) Streaming Export Integration enables real-time message delivery to LINE users as part of Treasure Data's activation workflows."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["With this integration, you can send messages to LINE users instantly using real-time trigger activations."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Basic knowledge of Treasure Data"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Basic knowledge of LINE Official Account and LINE Messaging API"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Access to a LINE Official Account with Messaging API enabled"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Channel access token and secret for your LINE OA"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"use-cases","__idx":2},"children":["Use Cases"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The primary use case for this streaming integration is to incorporate it into a real-time activation workflow to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Trigger a message delivery to LINE OA users"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here is an overview of how to configure that workflow to trigger a delivery:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the LINE Developers Console, create or select your LINE Official Account and enable the Messaging API."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Obtain your Channel Secret Access Token from the Messaging API settings."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create an authentication for this integration to communicate with LINE OA."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In a Real-time Journey, select this authentication for a new triggered activation."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requirements-and-limitations","__idx":3},"children":["Requirements and Limitations"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["This connector is subject to LINE Messaging API limitations. Please refer to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.line.biz/en/docs/messaging-api/limits/"},"children":["LINE Messaging API Rate Limits"]}," for details."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"line-oa-streaming-export-via-treasure-console","__idx":4},"children":["LINE OA Streaming Export via Treasure Console"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You must create and configure the data connection in Treasure Data. As part of the data connection, you provide authentication credentials to access the integration."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"create-authentication","__idx":5},"children":["Create Authentication"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Perform the following steps to create a new authentication with a set of credentials."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select Integrations Hub."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select Catalog."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Search for your Integration in the Catalog; hover your mouse over the icon and select Create Authentication."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/line-oa-streaming-logo.4b5114345157c2691bd2f667419dc9b3854d7359aa557f451dbd3ab7415b01aa.c9dfba80.png","alt":"LINE OA connector tile in the Integrations Hub Catalog"},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ensure that the Credentials tab is selected and then enter credential information for the integration."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"new-authentication-fields","__idx":6},"children":["New Authentication Fields"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/line-oa-streaming-authen.c1ab871f1333250b9f237665e8d447345d1033de64cda23f422c7214d07c1b33.c9dfba80.png","alt":"Authentication configuration screen showing the Channel Access Token and Channel Secret fields"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Channel Secret Key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The secret access key for your LINE Official Account channel"]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter a name for your connection."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After configuring the LINE OA Streaming integration, it is now available to be incorporated into real-time customer journey activations. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/creating-a-real-time-triggered-activation"},"children":["Creating a Real-time Triggered Activation"]}," for additional information."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"real-time-triggered-activation","__idx":7},"children":["Real-time Triggered Activation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create or update a triggered activation:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select the triggered activation you want to configure ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/triggeredactivation.66e546b8c4cc774c0bdd804d0d099b63cf12b1916181d85d7c715be95bd61810.9e7171ae.png","alt":""},"children":[]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the triggered activation window, select an activation from the Copy triggered activation from drop-down menu."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enter a Triggered activation name."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enter an Optional description of the activation."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["From the Authentication drop-down menu, select the authentication the activation should use."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Depending on the type of authentication you choose, the details you will need to provide will vary. Refer to the integration-specific table below for more information."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/line-oa-streaming-triggered-activation.ad4a4275fb903f91424542bf22936676048cb277690b2d8b74f7ceb11880d36c.c9dfba80.png","alt":"LINE OA Output Streaming Activation Config"},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Verify or provide the information required for the fields on the Details page."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["After the Details are configured, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Update"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"integration-parameters","__idx":8},"children":["Integration Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Values"},"children":["Values"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Recipient ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required - String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The user ID of the recipient (as provided by LINE)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Messages Payload"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["required - JSON Array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The array of message objects to send (see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.line.biz/en/reference/messaging-api/#send-message"},"children":["LINE Messaging API reference"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Maximum Number Of Retry"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional, default 3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number of retries before it gives up."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Initial Retry Delay"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional, default -2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["How long wait before retrying the first one"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retry Delay Multiple"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["optional, default 2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The factor to multiply the delay after each retry"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"retry-and-logging-logic","__idx":9},"children":["Retry and Logging Logic"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The connector will retry to send the request when it gets the status code 429, 500, 502, 503, or 504."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the request is sent successfully before the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Maximum Number of Retry"]}," is reached, the logging will show successfully."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the request still fails after reaching the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Maximum Number of Retry"]},", the connector will stop the job."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["We will see the error message and the status code in the client's activation table whenever the request sent fails."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Maximum Number of Retry"]}," can be configured in the Activation Config."]}]}]},"headings":[{"value":"LINE OA Streaming Export Integration","id":"line-oa-streaming-export-integration","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Use Cases","id":"use-cases","depth":2},{"value":"Requirements and Limitations","id":"requirements-and-limitations","depth":2},{"value":"LINE OA Streaming Export via Treasure Console","id":"line-oa-streaming-export-via-treasure-console","depth":2},{"value":"Create Authentication","id":"create-authentication","depth":3},{"value":"New Authentication Fields","id":"new-authentication-fields","depth":3},{"value":"Real-time Triggered Activation","id":"real-time-triggered-activation","depth":3},{"value":"Integration Parameters","id":"integration-parameters","depth":3},{"value":"Retry and Logging Logic","id":"retry-and-logging-logic","depth":2}],"frontmatter":{"seo":{"title":"LINE OA Streaming Export Integration","description":"Real-time message delivery to LINE users through Treasure AI's activation workflows, enabling instant communication using LINE Official Account Messaging API."}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/int/line-oa-streaming-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}