Articles on: Integrations

Configure your Klaviyo flow to send back in stock alerts using Stoq

This guide will walk you through the process of setting up a Stoq Back In Stock (BIS) flow in Klaviyo. By following these steps, you'll be able to automatically notify your customers via email when an out-of-stock product they're interested in becomes available again. Let's get started!

Step 0: Creating a Flow
We need to create a flow before we proceed, follow this article to create one - https://restockrocket.crisp.help/en/article/creating-a-flow-on-klaviyo-sb49jm/?bust=1725541918256

Step 1: Set Up the Trigger

Click on the "Select a trigger" button in the empty trigger node.
In the right sidebar that appears, you'll see several trigger options.
Under "Your Metrics", find "API" and click to expand it.
In the list of API metrics, locate and select "Stoq - Back In Stock Alert".

This metric should have been automatically created by Stoq during the integration process.

Add Metric to Trigger

Step 2: Confirm and Save

After selecting the correct trigger, click the "Save" button at the bottom of the sidebar.
A confirmation dialog box will appear, asking you to confirm your trigger selection.
Carefully review the selected trigger (it should show "Stoq - Back In Stock Alert").

Note: Triggers cannot be changed once a flow is created, so this step requires close attention.

If everything looks correct, click the "Confirm and Save" button.

Confirm Trigger Modal

After setting up the initial trigger for your Stoq Back In Stock (BIS) flow in Klaviyo, the next crucial steps involve configuring the email action.

Step 3: Add Email Action to Your Flow

Locate the* "+"** icon below your trigger in the workflow.
Click on it to reveal the action options.
From the list of actions, select "Email".
Drag and drop the Email action into your workflow, connecting it to the trigger.

Once the Email action is in place, you'll need to configure its details:

Click on the Email action in your workflow to open its settings in the right sidebar.
In the Email settings, you can adjust the following:

Subject line: Create an engaging subject that informs customers their item is back in stock.
Sender name and email: Choose an appropriate sender identity for your brand.
Content: This is where you'll select your email template in the next step.


Selecting Template

Step 4: Select the Stoq-Generated Template

Stoq automatically generates a default template for your Back In Stock alerts. Here's how to find and select it:

In the Email action settings, locate and click on the "Select Template" button.
A new window will open showing various template options.
Navigate to the "Saved Templates" tab at the top of this window.
Look for the template generated by Stoq. It should be named something like "Back in Stock - Stoq!".
Click on the Stoq-generated template to select it.

Note: You could also use the available product information variables and build your custom email template

Selecting default template

After configuring your email action and selecting the Stoq-generated template, the final step is to review and activate your flow. This process ensures that your Back In Stock alerts will be sent out as intended.

Step 5: Review and Activate the Flow

Once you've finished setting up your email action and selected the appropriate template, locate the "Review and Turn On" button in the top right corner of your flow editor. This action will open a modal window.
In the modal window, you'll see a dropdown menu for selecting the flow status.
From the dropdown, choose "Live". This setting will activate your flow and allow it to start processing Back In Stock alerts.
Once you're satisfied with all settings, click the "Turn On" button at the bottom of the modal.

Turn On Template Setting


Confirming Your Setup



After activating your flow, it's crucial to verify that everything is set up correctly:

Navigate back to the main Flows page in Klaviyo. You should now see your new "Stoq - BIS flow" listed among your active flows. Click on the flow to open it and double-check the following,

The trigger is set to "Stoq - Back In Stock Alert"
The email action is properly connected to the trigger
The Stoq-generated template is selected for the email
The flow status is set to "Live"

Congratulations! You have now successfully set up your Stoq Back In Stock flow in Klaviyo. Your customers will automatically receive email notifications whenever a product they're interested in comes back in stock. This setup will help improve customer satisfaction, increase sales, and streamline your back-in-stock communication process.

Updated on: 11/09/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!