Data Mapping

Create your own data mapping templates down below. Mapping the data allows you to redirect certain data keys to new ones to fit the standards of WP Webhooks Pro (For incoming webhook actions) or your external service (For outgoing webhook triggers). For more information, please check out the data mapping documentation by clicking here.
You currently don't have any data mapping templates available. Please create one first.
{"wpwhpro_data_mapping_value_type":{"id":"wpwhpro_data_mapping_value_type","type":"select","label":"Value Type","choices":{"key_mapping":"Mapping Key","data_value":"Data Value"},"placeholder":"","default_value":"","description":"Choose \u0022Mapping Key\u0022 if you want to use the above value to map it to the incoming data. Use \u0022Data Value\u0022 in case you want to create a new, static value."},"wpwhpro_data_mapping_convert_data":{"id":"wpwhpro_data_mapping_convert_data","type":"select","label":"Convert Data To","choices":{"none":"Choose...","string":"String","integer":"Integer","float":"Float","null":"Null","bool":"Bool"},"placeholder":"","default_value":"","description":"In case you need to convert the current value to a specific format, you can do that with this setting sitem."},"wpwhpro_data_mapping_decode_data":{"id":"wpwhpro_data_mapping_decode_data","type":"select","label":"Decode JSON value","choices":{"none":"Choose...","json_decode":"JSON Decode","unserialize":"Unserialize"},"placeholder":"","default_value":"","description":"Some endpoints send over JSON strings as values. With this setting, you can make them accessible. In case a JSON value string is given, it will be decoded and you can use the next mapping keys to iterate through it."},"wpwhpro_data_mapping_fallback_value":{"id":"wpwhpro_data_mapping_fallback_value","type":"text","label":"Fallback Value","placeholder":"","default_value":"","description":"In case you use the value type \u0022Mapping Key\u0022, this value will be used as a fallback mapping key in case the initial value is not available within the payload. If you use the value type \u0022Data Value\u0022, this value will be used if your given value is empty."}}
Please choose a template first.

Data Mapping Preview

You can use the preview down below to apply your data mapping template to some given data. This allows you to see instant results for your defined data mapping template. Please note that the preview uses the currently given data mapping template with all of its unsaved changes. If you want to check it with the saved changes, simply open the page in a new tab.
To get started, you can simply include your JSON, Query, or XML string down below. Click here to learn more.

Before Data Mapping

Apply for Send Data

Apply for Receive Data

After Data Mapping


    

Helpers

Tag Used by Description
{:key:} Actions, Triggers By defining {:some_key:} within a Data Value field, it will be replaced by the content of the given key of the response. You can also use multiple of these tags. Example: you get the key first_name and you want to add it to the following string: "This is my first name: MYNAME", you can do the following: "This is my first name: {:first_name:}"