WP Manifestindependent plugin directory
manifest / forms / gravityform-webhook-datatypes

Gravity Forms Webhook Custom Data Types

Allows Gravity From Webhooks addon to send data as json and int.

by Martin Cao · github.com/minkaizen/gravityform-webhook-datatypes · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/minkaizen/gravityform-webhook-datatypes/archive/refs/heads/master.zip

From the readme

Introduction The popular Gravity Forms plugin for WordPress has an addon called "Webhooks" which allows you to send form data to a custom URL endpoint. However it is limited because only string values can be sent. This plugin allows you to send arrays & objects (using psudo JSON syntax) as well as int values. It's a bit hacky, so please read the Usage and Example sections below. Usage Arrays and Objects (JSON Syntax) 1. Append asjson' in the field name. 2. Use JSON syntax with SINGLE QUOTES in the field value. The asjson suffix will be removed in the final output. You can still send form data using the default {fieldName:fieldId} syntax. This will be resolved before the string is converted to JSON Send int instead of string 1. Append asint in the field name 2. Enter integer values in the field value The asint suffix will be removed in the final output. Example Sending JSON Objects In the Gravity Forms Webhook GUI: This will output: Sending int values In the Gravity Forms Webhook GUI: This will output:

Read the full README on GitHub →