This article will guide you in setting up a pre-configured integration to move orders from Starweb to Rule.
Setting up the workflow
- Create a Bosbec Account.
- Log in and go to Workflows and My Channels in the main navigation menu.
- Click the plus sign in the top right and select to create an HTTP
- A subdomain will be generated for you based on your administrator’s email address. You can change this to something more appropriate, such as your company name or something similar.
- Click Create channel at the bottom of the side nav.
- Navigate to Workflows and My Workflows.
- Click the yellow plus sign at the top right.
- Enter a name for your workflow (e.g., Integration – Starweb to Rule).
- Click SAVE.
- Open the newly created workflow by double-clicking or right-clicking and selecting Edit.
- Select Create new workflow followed by Empty workflow.
- Go to File and select Import workflow from WFB file.
- You’ll find the download button at the top of this page.
- Double-click the trigger called “order-created.”
- The file also includes a workflow for “newsletter”, but this can be ignored for this setup.
- Select the HTTP channel you created earlier.
- Ensure that it is set to “Public.”
- Copy the HTTP link (formatted https://[subdomain].in.bosbec.io/order).
- Go to File and click Save.
- Activate the workflow using the button at the top right (next to “Run”). When it turns yellow, the workflow is active.
- You can now close this workflow.
- Log in to Starweb and create a webhook (ensure it listens to “order created”).
- Add the URL you copied as the callback URL for the Starweb webhook.
Adding details from Starweb and Rule
- In the admin panel, go to Settings at the top right and select Account Settings.
- At the bottom left, under Account, enter the data in the table below.
- The values on the right are retrieved from Starweb or Rule (except for starweb_group_key, which should be entered as shown below).
Key | Value |
starweb_shop_name | Value from Starweb (Shop name) |
starweb_client_id | Value from Starweb (Client ID) |
starweb_client_secret | Value from Starweb (Client Secret) |
starweb_group_key | v9it4adr |
rule_api_key | Value from Rule (Rule API Key) |
The setup is now complete, and orders created in Starweb will be sent to Rule!