Connect WordPress to any Application

Hatim Nagdawala
Socket Basics and its Use-Cases
3 min readMay 27, 2016

--

  1. Create Flow and copy its URL
  2. Install and activate HookPress
  3. Configure viaSOCKET in HookPress
  4. Test
  5. Add Steps in Flow

Step 1 : Create Flow and copy its URL

Refer this link to know about how to create Account, Flow and use Auth-key.

Step 2 : Install and activate HookPress

Follow the screenshots to install HookPress plugin (if not already installed) in your WordPress.

Search ‘HookPress’ plugin

Click ‘Install Now’

After the installation is successful, click ‘Activate Plugin’.
Note: if your plugin install attempt fails, you may need to download the zip file yourself and manually upload it to your host via FTP.

this linkCreating Flow and copy its URL

Step 3 : Configure viaSOCKET in HookPress

Go to ‘SettingsWebhooks’

Click on ‘Add Webhook’

Choose the ‘Action’ you’d like to trigger on, select all ‘Fields’ and paste ‘viaSOCKET URL’ that you copied earlier along with your ‘Auth-Key’ (in query parameter).
Refer this link to know How to send Auth-Key in Query Parameter

Testzapier woocommerceviaSOCKET

After the popup closes, you should see the Hook listed. Congrats!

this link

Step 4 : Test

Now perform the action you set up, this will send the event to viaSOCKET where we catch the event and you can see the received data in ‘Last Invocations’ tab.

Step 5: Add Steps in Flow

Now all you need, is to integrate your desired steps (such as Slack, e-mail, SMS etc.) in your flow.
→Refer this link to know How to add Steps in Flow

Use Cases

Connect with SMS provider or Email provider and start sending push notification/email or SMS. Thus you can send SMS or email/push notification from wordpress. Or if you want to send some data to hubspot or any CRM or internally at slack, Its 1 click away.

--

--