WP All Import

The WP All Import modules allow you to watch the new import and export from your WP All Import account. 

Getting Started with WP All Import

Prerequisites

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Setting Up WP All Import Webhooks

1. Open any Watch module, enter a name for the webhook, click Save, and copy the URL address to your clipboard. Click OK and save the trigger.

2. Log in to your WP All Import account.

3. Click All Import > Settings.

4. In the Function Editor field, enter the following code.

<?php
function after_import($import_id, $import)
{
//
$body = array($import);
$args = array(
'body'=> $import,
'timeout' => '5',
'redirection' => '5',
'httpversion' => '1.0',
'blocking' => true,
'headers' => array(),
'cookies' => array(),
);
// Sends import data to the webhook URL specified.
wp_remote_post("https://hook.integromat.com/<webhook_id>", $args);
 }
add_action('pmxi_after_xml_import', 'after_import', 10, 2);
?>

5. Replace https://hook.integromat.com/<webhook_id> in the wp_remote_post("https://hook.integromat.com/<webhook_id>", $args);
 with the URL address copied in step 1.

6. Click Save Changes.

You have successfully added the webhooks.

Triggers

See the Setting Up WP All Import Webhooks to add webhooks in your WP All Import account.

Watch New Import

Triggers when a new import has been processed.

Webhook NameEnter a name for the webhook.

Watch New Export

Triggers when a new export has been processed.

Webhook NameEnter a name for the webhook.


Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.