Create your workflow
Follow these steps to create your workflow:- Ask the Firmhouse Support team to enable the Workflows feature for your project. Make sure to mention your project ID in your message. You can find this number in your portal URL.
- Once the team enables the feature, you’ll see a new tab on your left menu: Workflows. In the Workflows tab, click Create new workflow.
- Currently, the only workflow available is the Checkout Product Swap. Click on it.
- Give your workflow a meaningful name that will allow you to quickly recognize what it does in the future.
- In the Product Mappings section, click Add product mapping.
- Select your source product (the one present in the original subscription) and your target product (the one that will replace the product in the original subscription).
- Add as many product mappings as you wish.
- To ensure you can test your workflow internally before setting it live, add an email domain in the Email Domain Filter section. When a domain is assigned, only customers with this email domain will enter the flow upon signup.
For example, to verify the workflow internally at Firmhouse, you could add the domain
firmhouse.com or firmhouse.nl. Adding domains like google.com is probably not ideal, since your clients may very well be using that as well. The domain has to match at least one subscriber. Don’t forget to press enter so you see the pill with the email domain.- Click Save workflow. You’re now ready to test it!
Test your workflow
To test your workflow, create a new subscription with the following criteria:- Use an email with the domain you added in the filter.
- Add one or more of the source products you added to your workflow.
- On your Firmhouse portal, go to the Customers tab and choose the customer you created to run the test.
- Scroll the Customer details page to see the active products.
- If the swap hasn’t happened yet, click Journey on the top left of your screen.
- If it says the action was completed successfully, but you still see the original product as active, reload the page.
- You should now see the target product as active instead of the source product.