{"id":99,"date":"2024-11-22T13:53:37","date_gmt":"2024-11-22T13:53:37","guid":{"rendered":"https:\/\/xendy.me\/create\/?p=99"},"modified":"2025-10-27T18:47:04","modified_gmt":"2025-10-27T18:47:04","slug":"gravity-forms-integration","status":"publish","type":"post","link":"https:\/\/support.xendy.me\/en\/gravity-forms-integration\/","title":{"rendered":"Connect Gravity Forms with Xendy"},"content":{"rendered":"<div class=\"row\"  id=\"row-898837746\">\n\n\t<div id=\"col-1100479195\" class=\"col medium-4 small-12 large-4\"  >\n\t\t<div class=\"is-sticky-column\" data-sticky-mode=\"javascript\"><div class=\"is-sticky-column__inner\">\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n<h3>Contents<\/h3>\n<div class=\"article-index\" style=\"margin-bottom: 20px;\"><style>\n        .article-index a:hover {\n            text-decoration: underline;\n        }\n    <\/style><div style=\"font-weight: 500; font-size: 12px;\"><a href=\"#introduction\">Introduction<\/a><\/div><div style=\"font-weight: 500; font-size: 12px;\"><a href=\"#create-a-gravity-forms-form\">Create a Gravity Forms form<\/a><\/div><div style=\"font-weight: 500; font-size: 12px;\"><a href=\"#connect-gravity-forms-to-xendy\">Connect Gravity Forms to Xendy<\/a><\/div><div style=\"font-weight: 500; font-size: 12px;\"><a href=\"#test-the-connection\">Test the connection<\/a><\/div><div style=\"font-weight: 500; font-size: 12px;\"><a href=\"#add-extra-fields\">Add extra fields<\/a><\/div><div style=\"font-weight: 500; font-size: 12px;\"><a href=\"#frequently-asked-questions\">Frequently Asked Questions<\/a><\/div><\/div>\n\t\t<\/div>\n\t\t<\/div><\/div>\t\t\t<\/div>\n\n\t\n\n\t<div id=\"col-1106963150\" class=\"col medium-8 small-12 large-8\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n<h2 id=\"introduction\">Introduction<\/h2>\n<p>With Gravity Forms, you can easily create forms in WordPress. By connecting this to Xendy, submissions are automatically added to a \u2018static segment\u2019. This allows you to quickly collect new contacts and immediately use them for newsletters or email automations.<\/p>\n<h2 id=\"create-a-gravity-forms-form\">Create a Gravity Forms form<\/h2>\n<p>Here\u2019s how to install Gravity Forms and create a new form:<\/p>\n<ol>\n<li aria-level=\"1\">Log in to your WordPress website and go to \u2018<b>Plugins<\/b>\u2019 in the left menu. Install the \u2018<b>Gravity Forms<\/b>\u2019 plugin and the \u2018<b>Gravity Forms Webhooks Add-On<\/b>\u2019. Activate both plugins after installation.<\/li>\n<li aria-level=\"1\">In the WordPress left menu, choose \u2018<b>Forms<\/b>\u2019 and then click \u2018<b>Add New<\/b>\u2019 to create a new form.<\/li>\n<li aria-level=\"1\">Give the form a clear name and add at least an email field.<\/li>\n<\/ol>\n<h3>Form example 1<\/h3>\n<p>Form with email address and subscribe button only.<\/p>\n<p>Fields:<\/p>\n<ul>\n<li aria-level=\"1\">Email address (required field, field name: email)<\/li>\n<li aria-level=\"1\">Subscribe button<\/li>\n<\/ul>\n<h3>Form example 2<\/h3>\n<p>Form with email address, first name, and subscribe button.<\/p>\n<p>Fields:<\/p>\n<ul>\n<li aria-level=\"1\">First name (field name: first_name)<\/li>\n<li aria-level=\"1\">Email address (required field, field name: email)<\/li>\n<li aria-level=\"1\">Subscribe button<\/li>\n<\/ul>\n<h3>Form example 3<\/h3>\n<p>Form with email address, first name, last name, and subscribe button.<\/p>\n<p>Fields:<\/p>\n<ul>\n<li aria-level=\"1\">First name (field name: first_name)<\/li>\n<li aria-level=\"1\">Last name (field name: last_name)<\/li>\n<li aria-level=\"1\">Email address (required field, field name: email)<\/li>\n<li aria-level=\"1\">Subscribe button<\/li>\n<\/ul>\n<p>Optionally adjust the button text and save the form. Then place the form on the desired page of your website.<\/p>\n<h2 id=\"connect-gravity-forms-to-xendy\">Connect Gravity Forms to Xendy<\/h2>\n<p>Here\u2019s how to connect your Gravity Forms form to Xendy via a webhook:<\/p>\n<ol>\n<li aria-level=\"1\">Log in to Xendy and go to \u2018<b>All contacts<\/b>\u2019 in the left menu, then click \u2018<b>All contacts<\/b>\u2019 again in the top right. Choose \u2018<b>Create new segment<\/b>\u2019. Select \u2018<b>Static<\/b>\u2019. Enter a name for the segment and click \u2018<b>Create segment<\/b>\u2019.<\/li>\n<li aria-level=\"1\">Now click on \u2018<b>Add contacts<\/b>\u2019 in the top right and choose \u2018<b>Via a webhook<\/b>\u2019. A pop-up will appear with a URL and an Authorization: Bearer token.<\/li>\n<li aria-level=\"1\">Open your WordPress website and go to \u2018<b>Forms<\/b>\u2019 in the left menu. Select the form you want to connect, go to \u2018<b>Settings<\/b>\u2019 and then \u2018<b>Webhooks<\/b>\u2019.<\/li>\n<li aria-level=\"1\">Add a new webhook. Paste the URL here and then add the Authorization header. Paste the value starting from Bearer, e.g. \u2018<b>Bearer abc123<\/b>\u2019 (including the full code). Click \u2018<b>Save<\/b>\u2019 to save the form.<\/li>\n<\/ol>\n<h2 id=\"test-the-connection\">Test the connection<\/h2>\n<p>To make sure everything is working correctly, you can perform a test:<\/p>\n<ol>\n<li aria-level=\"1\">Go to the page on your website where you placed the form.<\/li>\n<li aria-level=\"1\">Fill in the form with a test email address (for example, your own address).<\/li>\n<li aria-level=\"1\">Log in to Xendy and go to \u2018<b>All contacts<\/b>\u2019 in the left menu, then click \u2018<b>All contacts<\/b>\u2019 again in the top right. Choose the segment you created. Check the list to see if the email address appears.<\/li>\n<\/ol>\n<h2 id=\"add-extra-fields\">Add extra fields<\/h2>\n<p>The email field is always required. If you also want to collect a first name, this field must be named first_name. For a last name, use the name last_name. You may choose any name for other fields. These will automatically be added in Xendy and can then be used in segments or personalization.<\/p>\n<h2 id=\"frequently-asked-questions\">Frequently Asked Questions<\/h2>\n<div class=\"accordion\">\n\t<div id=\"accordion-2877399042\" class=\"accordion-item\">\n\t\t<a id=\"accordion-2877399042-label\" class=\"accordion-title plain\" href=\"#accordion-item-can-i-add-extra-fields?\" aria-expanded=\"false\" aria-controls=\"accordion-2877399042-content\" >\n\t\t\t<button class=\"toggle\" aria-label=\"Toggle\"><i class=\"icon-angle-down\"><\/i><\/button>\n\t\t\t<span>Can I add extra fields?<\/span>\n\t\t<\/a>\n\t\t<div id=\"accordion-2877399042-content\" class=\"accordion-inner\" aria-labelledby=\"accordion-2877399042-label\" >\n\t\t\t\n<p>The email field is always required. If you also want to collect a first name, this field must be named first_name. For a last name, use the name last_name. Other fields may be given any name. These are automatically added in Xendy and can then be used in segments or personalization.<\/p>\n\t\t<\/div>\n\t<\/div>\n\t\n<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-integrations"],"_links":{"self":[{"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":12,"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":1775,"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/posts\/99\/revisions\/1775"}],"wp:attachment":[{"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.xendy.me\/en\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}