WP Webhooks

  • Home
  • Features
  • Integrations
  • Extensions
  • Pricing
  • Login
  • Get WP Webhooks
Login
Get WP Webhooks
Account
  • Home
  • Features
  • Integrations
  • Extensions
  • Pricing
  • Login
  • Get WP Webhooks
Login
Login
Get WP Webhooks
Account
The WP Webhooks Logo in white
The WP Webhooks Logo in white
Blog

How to update Meta Box meta data using automation

Featured image for “How to update Meta Box meta data using automation”

Meta Box is an amazing plugin if it comes to creating custom meta boxes along with custom fields for WordPress.
In this article, we will explain to you how you can use this great plugin to automate the process of updating, creating, and deleting meta data using automation workflows with WP Webhooks.

Why you should update Meta Box fields automatically

Repetitive tasks are a big problem if it comes to focusing on the important parts of your business like growth, stability, or reliability. They are not only time-intense, but come along with other issues such as extra costs, badly used resources, and, of course, human error.
All of this can be avoided by automating those manual tasks using specific automation plugins such as WP Webhooks.
We make sure you get your time back to focus on what’s really important to your business.

How to update Meta Box fields

There are two ways you can use to update custom fields via the Meta Box plugin: Via webhooks or via automation workflows. Both of them are explained below.

Create/update Meta Box data using automation workflows

Time needed: 7 minutes.

Learn how to adjust Meta Box fields using automation workflows with WP Webhooks.

  1. Install Meta Box and WP Webhooks

    Make sure both of the plugins are installed and active.

  2. Create a new automation Flow

    Head over to your WordPress dashboard -> WP Webhooks -> Flows
    and create a new Flow with a name of your choice.

  3. Add a trigger of your choice

    This will be the event that causes the Meta Box fields to automatically adjust the field data

  4. Add a new Meta Box action

    Add an action and choose the “Meta Box” integration along with the “Set meta data” action endpoint

  5. Set up your meta fields

    Add the Meta Box fields you would like to update along with the object type.The Meta Box integration to update custom meta fields within the Flows of WP Webhooks

  6. Test and activate Flow

    Lastly, test the action and if everything works, set your Flow to active.

Create/update meta box data via webhooks

The alternative to the workflows is the direct webhook integration with WP Webhooks.
For every webhook endpoint, there is an action availalble that allows you to do the same action as within a workflow, just that you can directly address the action via a webhook call instead of setting up automation.
This is specifically interesting if you want to create remote automations and take care of it yourself or for saving that extra execution time of a flow.

To use a webhook action, you can do the following:

  1. Make sure Meta Box and WP Webhooks are installed and active
  2. Head over to your WordPress dashboard -> WP Webhooks -> Webhooks -> Receive Data
  3. Locate the “Set Meta Data” action of the “Meta Box” integration and create a new action URL
  4. Once the URL is created, you can send data to it based on the argument list
  5. Within the argument list, you will find further details on what arguments need to be set and what the value you need to send along looks like.
  6. Lastly, you need to add the URL to the service you want to call the URL from and send the data along.

What fields are supported?

We support all fields supported by Meta Box. The structure of our webhook follows the requirements of the rwmb_set_meta() function of Meta Box. You can read more about it here: https://docs.metabox.io/functions/rwmb-set-meta/

How to set up met values using a custom table

With the Meta Box “Custom Table” integration, you can update meta fields in a separate MqSQL table instead of the default one. We do also support that via the “args” argument of the “Set meta data” action.
To update the values in the correct table, you can add a JSON formatted string along with your custom table name and the storage type definition. Here is an example for that:

{
   "storage_type":"custom_table",
   "table":"custom_metabox_table"
}

This code will update the meta data in your specified table.

Sign up for WP Webhooks news

Get the latest features, tutorials and promotions directly into your inbox.

The WP Webhooks Logo for our WP Webhooks integration
General
  • Features
  • Integrations
  • Extensions
  • Pricing
  • Cost calculator
Help
  • Support
  • Documentation
  • Blog
  • Facebook Group
  • Customization
  • Request integration
More
  • About us
  • Become An Affiliate
  • Jobs
  • Contact us
Advanced CouponsAdvanced Custom FieldsAffiliateWPAmeliaAutomate.ioAutoptimizeAwesome SupportbbPressBitlyBouncelessBreezeBroken Link CheckerCache EnablerComet CacheContact Form 7DiviEasy Digital DownloadsElementor ProEmail List VerifyEmailableEvent TicketsEvents ManagerFavoritesFluent FormsFluent SupportFluentCRMFormidable FormsForminatorFreshdeskFunnelKit AutomationsGiveWPGravity FormsGravity PDFGravityKitGroundhoggHappyFormsHummingbirdIFTTTIndexNowIntegratelyJetEngineJetFormBuilderJetpack CRMKadence BlocksKlickTippLearnDashLiteSpeed CacheMailPoetMake (Integromat)Meta BoxMicrosoft Power Automaten8nNewsletterNinja FormsOpenAIPabbly ConnectPaid Memberships ProProjectHuddleRestrict Content ProShortcoderSQLStripeStudiocartSureCartThe Events CalendarTomba.ioTutor LMSTypebotUltimate MemberVerifyBeeW3 Total CacheWebhooksWooCommerceWooCommerce MembershipsWooCommerce ShipStationWooCommerce SubscriptionsWordPressWP All ExportWP All ImportWP CoursewareWP Download ManagerWP Fastest CacheWP FusionWP ResetWP RocketWP Simple PayWP Super CacheWP User ManagerWP WebhooksWP Webhooks FormatterWP-OptimizeWP-PollswpDiscuzWPFormswpForoWS FormYoast SEOZapierZeroBounceZoho Flow
WooCommerceOrder created
Elementor ProForm submitted
Tutor LMSLesson completed
Make (Integromat)Make (Integromat) HTTP request received
WP WebhooksCustom link clicked
Formidable FormsForm submitted
WordPressPost created
WordPressShortcode called
WordPressPlugin activated
IntegratelyIntegrately webhook request received
WooCommerceProduct updated
WordPressUser created
WordPressUser updated
WooCommerceOrder updated
Gravity FormsForm submitted
FunnelKit AutomationsContact added to list
WordPressWordPress hook fired
Fluent FormsForm submitted
WP WebhooksAction fired
Tutor LMSQuiz completed
FluentCRMContact added to list
WPFormsForm submitted
ZapierZapier webhook request received
WP WebhooksAction URL request received
WordPressComment created
WebhooksHTTP request received
WordPressPost updated
Contact Form 7Form submitted
TypebotTypebot webhook request received
WordPressUser logged in
Advanced Custom FieldsManage ACF user meta
Fluent SupportAdd ticket
Paid Memberships ProAdd user to membership
WebhooksResolve target URL
WP Webhooks FormatterNumber math operation
WordPressDelete post
WordPressManage WP post meta
FluentCRMUpdate contact
OpenAICreate completion
WooCommerceCreate Woocommerce order
WordPressGet multiple posts
Pabbly ConnectSend data to Pabbly Connect webhook app
WP WebhooksFire flow
Advanced Custom FieldsUpdate options page
WordPressCustom PHP action
WordPressCreate URL attachment
WordPressGet post
Advanced Custom FieldsManage ACF post meta
WordPressGet user
WooCommerceWoocommerce API call
WordPressCreate user
Make (Integromat)Send data to webhook app
WordPressSend remote HTTP POST
ZapierSend data to Zapier webhook app
WordPressSend email
WP WebhooksFire trigger
WordPressUpdate user
WordPressUpdate post
WordPressCreate post
WebhooksSend webhook request
2023 IRONIKUS FZE. ALL RIGHTS RESERVED.
  • Privacy Policy
  • Cookie Policy
  • Terms & Conditions
  • Shipping & Delivery
  • Refunds
  • Home
  • Features
  • Integrations
  • Extensions
  • Pricing
  • Login
  • Get WP Webhooks
  • Home
  • Features
  • Integrations
  • Extensions
  • Pricing
  • Login
  • Get WP Webhooks