Skip to main content
Shopware 6 Integration

Here you will learn how to link JUNE with Shopware. This can be used for landing pages as well as for service emails, for example.

Niclas Mai avatar
Written by Niclas Mai
Updated over 10 months ago

Installation

To get the plugin file, contact support with your request, they will provide you with the zip file.

  1. Place the .zip file in the Shopware directory under custom/plugins and unzip it.

  2. Rename the folder to June.

  3. Now you can in the admin area of Shopware the plugin under

    Extensions > My Extensions install and activate the plugin.

  4. If the plugin was installed successfully, you will find in the category Marketing

    the subitem JUNE.

Landing Pages

With the Shopware integrations, you can easily create the content of your online store in the JUNE editor. Your content pages and any landing pages can be implemented and maintained with the easy-to-use editor in JUNE.

  1. Upload the .zip file of the JUNE plugin in the Shopware admin area and activate the plugin.

  2. Enter your username and password in the settings of the plugin Basic Auth.

  3. In JUNE you can add a new hosting adapter. To do so, go to the Admin Settings and click on Hosting at the top bar. Click on Add and select the type Webhook.

  4. Enter your data from Shopware in the Hosting menu.

  5. In the fields “Webhook Publish”, “Invalidate Cache” and “Webhook Delete” enter the store url and api/junecms.

  6. Now go to the Landing Pages Editor. As soon as you want to publish a page, click on Publish. Under Actions you can add the new integration.

  7. Published pages are displayed in the admin area of Shopware under Content > JUNE CMS > Pages.

  8. The JUNE landing pages are integrated via a Content Block on the page. In the content block, you can configure which of the published pages should be played.


Service Mails

Service emails can also be created in JUNE and sent via Shopware.

  1. Go to Automation in JUNE and create a new list with the list type Unstructured Email List.

  2. Create new fields in the Fields tab:

    1. field technicalname: “user_data”, type: “object”.

    2. field technicalname: “content_data”, type: “object

    3. field technicalname: “action_type”, type: “text

  3. Click on API in the upper list and copy the API token. Paste it into Shopware under: Extensions > My Extensions > JUNE Extension > Configuration > Service Mail Config.

  4. In the Shopware backend under Content > JUNE CMS > Token the data from the list is stored. You can find the Collect Token in the list in the tab API. You can choose the name freely.

  5. Under Settings > Flow Builder you can edit the respective flow.

  6. Add the action “JUNE Service Mail” in the tab Flow under “Action(Then)”.

  7. Select the JUNE service mail list in the modal.

  8. Save the flow to apply all changes.

  9. Once the customized action is triggered, the data will be forwarded to JUNE.

  10. Delete the default actions to avoid sending duplicate service mails.


Newsletter Subscriber

The subscribers who sign up for the newsletter via your online store are automatically saved in JUNE.

  1. In JUNE, go to Automation and create a new list with the list type Email List.

  2. Create new fields in the Fields tab:

    1. field: technicalname: “firstname”, type: “text”.

    2. field technicalname: “lastname”, type: “text”

    3. field technicalname: “customer_id”, type: “text”

    4. field technicalname: “intent”, type: “text”

  3. Click API in the upper list and copy the API token. Paste it into Shopware. Go to Extensions > My Extensions > JUNE Extension > Configuration > Service Mail Config. Paste it in the field “JUNE API Auth Token”.

    💡 If an API token has already been entered for the service mails, you do not need the one from the newsletter list. The token is valid for both lists.

  4. In the Shopware backend under Content > JUNE CMS > Token, the data from the list is stored. You can find the Collect Token in the list in the tab API. You can choose the name freely.

  5. Under Settings > Flow Builder you can edit the flows that start with the trigger “Newsletter”.

  6. Replace the existing action with the JUNE service mail action and add the newsletter list to the modal.

  7. Save the flow to apply all changes.

  8. As soon as the action is triggered, the data will be forwarded to JUNE.

  9. In the Shopware backend, an integration must be created under Settings > System > Integrations so that a user who unsubscribes via JUNE is also unsubscribed from Shopware.

    💡 Access Key ID and Secret Access Key must be stored at JUNE in the action with the Shopware unsubscribe integration together with the store URL.


E-Commerce Data

The data of your customers can be stored in JUNE. This allows you to build purchase-based customer journeys, such as upselling campaigns.

  1. Go to Automation in JUNE and create a new list with the list type E-Commerce Customer.

  2. Create a new token of type “Shopware” under E-Commerce Settings.

  3. Now add the token in the Shopware admin area, in the JUNE Plugin Configuration, in the field “JUNE Commerce Token”.

  4. The e-commerce data will be transferred if it is activated for the respective type (order or shopping cart) AND the Commerce Token has been entered.


Export Shopware Orders

Also, all past customer data can be exported to JUNE, so you can continue to work with the information.

💡 All orders that are transferred to JUNE via the order export will not trigger any actions or mails in JUNE.

  1. The Commerce Token must be entered in the plugin settings for the data to be transferred.

  2. In the Shopware menu under Content > JUNE in the “Export Orders” tab, click on the Start Order Export button. This will start the process.

  3. The “Scheduled Service” is executed, which imports all order data up to the installation time from the JUNE plugin.

    💡 Important: In order for all order data to be transferred, the Shopware message queue must be active. This is done either by the Shopware Admin Worker or by something external like RabbitMQ.

🧑‍💻 Contact & Support

Do you need help setting up an integration? Our developers are happy to help. Book your call here.


Did this answer your question?