How do I generate texts from IC Robotics to WooCommerce (WordPress)?

In order to automatically generate texts from IC Robotics in WooCommerce (WordPress), you will need to set up a webhook.

In order to start the text generation in IC Robotics you will need to publish your template to generate a Webhook URL in IC Robotics, which you will need to paste into your WooCommerce webhooks. 

1. Create a Webhook URL in IC Robotics

First, you will need to publish your template - see how here

Once you have you have published your template you get a publication on your template.

  • Click on the three dots and then Webhook’.
  • Generate a webhook URL by adding an IC Robotics' API key or generate a new API key. 
  • Copy the URL, which you will need to paste into WooCommerce. 

Remember to set your template settings before publishing your template. 

👉🏼 See the different template settings for WooCommerce here.

If you come directly from the last step of our signup flow, the above is already done and the most basic template settings are set to NOT overwrite texts push text without your approval (e.g. adding ic-include as an invisible attribute).

This can always be changed later and republished.

2. Create a new Webhook in WooCommerce

  • Go to WooCommerceSettingsAdvancedWebhooks and click Add webhook.

  • Give your Webhook a Name e.g. "IC Robotics webhook - Product update"

  • Status should be set to Active

  • Select a Topic for the webhook to trigger.

    • We recommend that you create two webhooks with the Product updated Topic on one and Product created on the other.

  • Delivery URL is where you insert the webhook URL from step 1.

    • You can use the same webhook URL for both Webhooks. (The URL you got from the IC Robotics platform)

  • Secret should be left blank

  • API Version should be set to WP REST API Integration v3

  • Click "Save webhook".

You are now ready to go. 🎉