Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Customer

Overview

The Create Customer action automatically creates a new customer record in your Shopify store using details collected during the bot conversation, such as name and phone number.

Prerequisites

Before configuring this action, ensure the following:

  • You have an active Shopify connection configured under the Apps tab in Ownchat

  • The bot you want to configure is already created in the Bot Builder

  • Customer detail variables (e.g., name, phone number) have been collected in a previous workflow node

Step 1: Add a Create Customer Node

  1. Click the plus icon in your bot workflow to add a new node.

  1. Go to the Connections tab within the node editor.

  1. Click Shopify to expand the available actions.

  1. Click Create Customer to open the customer creation form.

Step 2: Configure the Action

2.1 β€” Name the Action

Enter a descriptive name in the action name field (e.g., Create Customer).

2.2 β€” Select Connection

From the connection dropdown, select your Shopify connection (e.g., ieyal shopify live).

Step 3: Map Customer Details

For each customer field, click Add variable and use the search field in the dropdown to find and select the relevant variable

Field

Variable to Map

First Name

Select the name variable from the dropdown

Phone

Select the phone variable from the dropdown

Click Add variable for each field you want to populate dynamically.

Step 4: Store the Response

From the variable dropdown, select or create a variable to store the customer creation response returned by Shopify. This variable can be referenced in downstream nodes β€” for example, to confirm the customer was created or to use the new customer ID in a subsequent action.

Step 5: Save and Publish

  1. Click Create to submit the customer form and save the configuration.

  1. Click Publish to deploy the bot with the new action.

Notes

  • Customer detail variables should be captured in earlier nodes of the workflow before this action is reached.

  • Click Add variable for each field you want to populate. Fields left without a variable will not be included in the customer record.

  • Changes take effect only after clicking Publish.

  • Shopify β€” Check Customer β€” Verify whether a customer already exists before creating a new record

  • Shopify β€” Get Customer Details β€” Retrieve details of an existing customer

  • Shopify β€” Update Customer Tags β€” Add or update tags on a customer record

  • Bot Builder β€” Node Configuration β€” General guide to adding and configuring nodes

Last updated