{"id":5771,"date":"2026-08-24T14:30:50","date_gmt":"2026-08-24T05:30:50","guid":{"rendered":"https:\/\/storecrm.com\/help\/?p=5771"},"modified":"2026-09-04T20:58:06","modified_gmt":"2026-09-04T11:58:06","slug":"shopify-flow-line-disconnect","status":"publish","type":"post","link":"https:\/\/storecrm.com\/help\/en\/setting\/shopify-flow-line-disconnect\/","title":{"rendered":"Disconnect LINE integration from Shopify Flow"},"content":{"rendered":"<p>The Shopify Flow action [StoreCRM: Disconnect LINE] automatically disconnects LINE in StoreCRM for the Shopify customer identified by the trigger. This page explains how to receive a disconnection event from CRM PLUS on LINE and how to use customer tags.<\/p>\n<h2>Before you begin<\/h2>\n<ul>\n<li>Complete the connections between StoreCRM, Shopify, and your LINE Official Account.<\/li>\n<li>Install Shopify Flow and log in with permission to create workflows.<\/li>\n<li>Prepare a LINE-connected customer for testing.<\/li>\n<\/ul>\n<h2>Method 1: Apply disconnections from CRM PLUS on LINE<\/h2>\n<ol>\n<li>In Shopify Admin, open [Apps] \u2192 [Shopify Flow], and click [Create workflow].<\/li>\n<li>Select CRM PLUS on LINE's [A customer disconnected social login] trigger.<\/li>\n<li>In the next step, add an [Action] and select StoreCRM's [StoreCRM: Disconnect LINE].<\/li>\n<li>In the required [Customer to disconnect from LINE] field, specify the Shopify customer passed by the trigger.<\/li>\n<li>Review the settings, save the workflow, and turn it on.<\/li>\n<\/ol>\n<p><!-- storecrm-flow-line-images:start:crm-plus --><\/p>\n<p>In the action list, select StoreCRM's [StoreCRM: Disconnect LINE].<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-shopify-flow-line-disconnect-action-list-20260904.png' alt='Selecting Disconnect LINE from the StoreCRM action list in Shopify Flow' class=\"wp-image-6406\"\/><\/figure>\n<p>Connect the CRM PLUS on LINE trigger to the disconnect action, and set the action's Customer field to the trigger's<code>customer.id<\/code>.<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-shopify-flow-line-disconnect-crm-plus-20260904.png' alt='Workflow connecting the CRM PLUS on LINE disconnection trigger to the StoreCRM Disconnect LINE action' class=\"wp-image-6408\"\/><\/figure>\n<p><!-- storecrm-flow-line-images:end:crm-plus --><\/p>\n<p><strong>Note:<\/strong>This action disconnects LINE only in StoreCRM. It does not change the<code>socialplus.line<\/code>information in CRM PLUS on LINE.<\/p>\n<h2>Method 2: Disconnect when a customer tag is added<\/h2>\n<ol>\n<li>Create a new workflow and select Shopify's [Customer tags added] trigger.<\/li>\n<li>Add a condition and configure the trigger's<strong>Tags (the tags added in this event)<\/strong>\u00a0include a\u00a0<code>deleted_accounts<\/code>so the workflow continues only when it contains the specified tag.<\/li>\n<li>Add [StoreCRM: Disconnect LINE] as the action.<\/li>\n<li>In the required [Customer to disconnect from LINE] field, specify the trigger's Shopify customer.<\/li>\n<li>Save the workflow and turn it on.<\/li>\n<\/ol>\n<p><!-- storecrm-flow-line-images:start:tag --><\/p>\n<p>For the tag method, connect the Customer tags added trigger,<code>deleted_accounts<\/code>condition, and the StoreCRM disconnect action as follows.<\/p>\n<figure class='wp-block-image size-full'><img src='https:\/\/storecrm.com\/help\/wp-content\/uploads\/2026\/08\/main-storecrm-en-shopify-flow-line-disconnect-tag-20260904.png' alt='Workflow that starts when a customer tag is added and disconnects LINE in StoreCRM through a deleted_accounts condition' class=\"wp-image-6410\"\/><\/figure>\n<p><!-- storecrm-flow-line-images:end:tag --><\/p>\n<p><strong>Important:<\/strong>Use the trigger's [Tags (the tags added in this event)] in the condition, not the list of all tags currently assigned to the customer. If you use all customer tags in the condition, adding another tag later, such as<code>storecrm-line<\/code>may run the disconnect action again.<\/p>\n<h2>Action settings<\/h2>\n<p>The only required field for [StoreCRM: Disconnect LINE] is [Customer to disconnect from LINE]. Do not enter a fixed customer ID; always specify the Shopify customer passed by the trigger. The action fails safely if it receives another type of object or a customer from another store.<\/p>\n<h2>Test and review the result<\/h2>\n<ol>\n<li>Trigger the configured event using a LINE-connected test customer.<\/li>\n<li>Open the Shopify Flow run history and confirm that [StoreCRM: Disconnect LINE] succeeded.<\/li>\n<li>Open the customer details in StoreCRM and confirm that LINE is disconnected for the target customer.<\/li>\n<li>Confirm that the StoreCRM tags and metafields are removed in Shopify. The update may take up to approximately five minutes.<\/li>\n<\/ol>\n<h2>Behavior notes<\/h2>\n<ul>\n<li>Even if the same LINE ID is linked to multiple customers, only the customer specified by the workflow is disconnected.<\/li>\n<li>Running the action again for an already disconnected customer is treated as successful and makes no additional changes.<\/li>\n<li>The action fails safely if the customer is blank, does not exist, or belongs to another store.<\/li>\n<\/ul>\n<h2>If LINE is not disconnected<\/h2>\n<ul>\n<li>In the workflow run history, confirm that the run passed the condition and reached the StoreCRM action.<\/li>\n<li>Confirm that the trigger's Shopify customer is set in [Customer to disconnect from LINE].<\/li>\n<li>For the tag method, confirm that the condition references the tags added in the current event.<\/li>\n<li>Confirm that the target customer is connected to LINE in StoreCRM.<\/li>\n<li>If only the Shopify tags or metafields remain, wait up to five minutes and check again.<\/li>\n<\/ul>\n<p>For email delivery actions, see<a href='https:\/\/storecrm.com\/help\/en\/setting\/shopify-flow-mail-send\/'>Send email through StoreCRM from Shopify Flow<\/a>for more information.<\/p>","protected":false},"excerpt":{"rendered":"Shopify Flow\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u300cStoreCRM: LINE\u9023\u643a\u3092\u89e3\u9664\u300d\u3092\u4f7f\u3046\u3068\u3001\u30c8\u30ea\u30ac\u30fc\u3067\u7279\u5b9a\u3057\u305fSh [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,76],"tags":[],"class_list":["post-5771","post","type-post","status-publish","format-standard","hentry","category-setting","category-setting-setting"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/comments?post=5771"}],"version-history":[{"count":6,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5771\/revisions"}],"predecessor-version":[{"id":6412,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/posts\/5771\/revisions\/6412"}],"wp:attachment":[{"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/media?parent=5771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/categories?post=5771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/storecrm.com\/help\/en\/wp-json\/wp\/v2\/tags?post=5771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}