Title: Gragrid: Gravity Forms + SendGrid
Author: Vlass Contreras
Published: <strong>2020 年 9 月 15 日</strong>
Last modified: 2022 年 6 月 11 日

---

搜索插件

![](https://ps.w.org/gragrid/assets/banner-772x250.png?rev=2483129)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/gragrid/assets/icon.svg?rev=2483129)

# Gragrid: Gravity Forms + SendGrid

 作者：[Vlass Contreras](https://profiles.wordpress.org/vlass/)

[下载](https://downloads.wordpress.org/plugin/gragrid.2.2.2.zip)

 * [详情](https://cn.wordpress.org/plugins/gragrid/#description)
 * [评价](https://cn.wordpress.org/plugins/gragrid/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gragrid/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gragrid/#developers)

 [支持](https://wordpress.org/support/plugin/gragrid/)

## 描述

Integrate your Gravity Forms with SendGrid to send submissions with email fields
to your contact lists.

### Advanced

You can customize the contact data sent to SendGrid in the entry submission context
with this hook:

    ```
    apply_filters( 'gragrid_contact_params', array $contact_params, array $entry, array $form )
    ```

 * `$contact_params` (array): Contact parameters, includes first name, email, custom
   fields, etc.
 * `$entry` (array): The form entry that was just created.
 * `$form` (array): The current form, the origin of the submission.

You can also customize the SendGrid API requests using the following hook:

    ```
    apply_filters( 'gragrid_request_args', array $args, string $path )
    ```

 * `$args` (array): Request arguments, includes headers, method, body, etc.
 * `$path` (string): The specific API endpoint being called.

## 屏幕截图

 * [[
 * Plugin settings page
 * [[
 * Multiple feeds, send submissions to multiple lists
 * [[
 * Feed settings page

## 安装

 1. Upload the extracted contents of `gravity-forms-sengrid.zip` to the `/wp-content/
    plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Forms > Settings > SendGrid and add your API key

## 常见问题

### Why can’t I create a feed?

Make sure you have set a valid API key in the global SendGrid settings by going 
to Forms > Settings > SendGrid. There should be a green checkmark next to the API
key field if the API key is valid.

### What permissions do I need to select when creating an API key?

This plugin only requires full access to **Marketing > Marketing**.

### Why the field dropdowns in the mapping settings are empty?

 * To map the **Email** you need to have a field of type [Email](https://docs.gravityforms.com/email/)
   or [Hidden](https://docs.gravityforms.com/hidden/).
 * To map the **First Name** and **Last Name** you need to have a field of type 
   [Name](https://docs.gravityforms.com/name/), [Text](https://docs.gravityforms.com/text-field/),
   or [Hidden](https://docs.gravityforms.com/hidden/)
 * To map the **Address** you need to have a field of type [Address](https://docs.gravityforms.com/address-field/),
   [Text](https://docs.gravityforms.com/text-field/), or [Hidden](https://docs.gravityforms.com/hidden/)

### The field dropdown options in the mapping settings are blank but selectable, what’s going on?

The field dropdowns show the [Field Label](https://docs.gravityforms.com/common-field-settings/#field-label)
or [Admin Field Label](https://docs.gravityforms.com/common-field-settings/#admin-field-label),
so make sure you have either of those set up in your fields. Or both, it’s also 
a good practice for accessibility!

### Why I don’t see any custom fields in the form settings?

The custom field mapping won’t appear unless you have at least 1 custom field in
your SendGrid account, so make sure you have at least one.

### Can this plugin be installed at the same time as the official SendGrid Gravity Forms add-on?

Yes. The official add-on and this plugin have different purposes and do not have
conflicts in between.

### Can this plugin be installed at the same time as the official SendGrid WordPress plugin?

Yes. Just like Gravity Forms’ SendGrid add-on, this plugin serves a different purpose
and does not conflict with it.

## 评价

![](https://secure.gravatar.com/avatar/2bee0f27a9a8b36c17d8e9b5b67201d72de775a90b6ef57d5688cee11f07fdda?
s=60&d=retro&r=g)

### 󠀁[Amazing](https://wordpress.org/support/topic/amazing-3027/)󠁿

 [kevinfbs](https://profiles.wordpress.org/kevinfbs/) 2021 年 3 月 15 日 1 回复

This plugin is amazing and works exactly as described and integrates perfectly with
SendGrid. This plugin saved many hours of customization coding and tons of lines
of codes to achieve these results. The author is extremely talented and follows 
up with all support and has even made 2 huge upgrades based on feedback in past 
couple of weeks. Highly recommend.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/gragrid/reviews/)

## 贡献者及开发者

「Gragrid: Gravity Forms + SendGrid」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Vlass Contreras ](https://profiles.wordpress.org/vlass/)

「Gragrid: Gravity Forms + SendGrid」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/gragrid/contributors)
为本插件所做的贡献。

[帮助将「Gragrid: Gravity Forms + SendGrid」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gragrid)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gragrid/)，查看[SVN仓库](https://plugins.svn.wordpress.org/gragrid/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/gragrid/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gragrid/)。

## 更新日志

#### 2.2.2

 * Fixes the truncated contact lists on the feed settings page
 * Tested on WordPress 6.0

#### 2.2.1

 * Handles fatal error on the feed listing when the API key is invalid
 * Escape HTML in translation strings
 * Tested on WordPress 5.8

#### 2.2.0

 * Fixes fatal error due to unitialized API class on Gravity Forms 2.5+ [[#15](https://github.com/vlasscontreras/gragrid/issues/15)]
 * Adds error feedback when contact lists cannot be retrieved on the feed settings

#### 2.1.0

 * Adds support to map more reserved/default SendGrid fields
 * Adds support to map custom fields 🥳
 * Introduces a new filter hook `gragrid_contact_params` to filter contact data 
   at entry context

#### 2.0.0

 * Uses Twilio SendGrid’s new Marketing Campaigns API (see [#9](https://github.com/vlasscontreras/gragrid/issues/9))
 * Adds address fields to map them to SendGrid Contacts
 * New logo 💅🏻

#### 1.1.0

 * Adds support for conditional feeds
 * Adds notes to form entries when the feeds are processed

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **2.2.2**
 *  最后更新：**4 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.2 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  PHP 版本 ** 7.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/gragrid/) 和 [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/gragrid/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/gragrid)
 * 标签
 * [emails](https://cn.wordpress.org/plugins/tags/emails/)[forms](https://cn.wordpress.org/plugins/tags/forms/)
   [gravity forms](https://cn.wordpress.org/plugins/tags/gravity-forms/)[sendgrid](https://cn.wordpress.org/plugins/tags/sendgrid/)
   [subscribers](https://cn.wordpress.org/plugins/tags/subscribers/)
 *  [高级视图](https://cn.wordpress.org/plugins/gragrid/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/gragrid/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/gragrid/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/gragrid/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/gragrid/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/gragrid/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gragrid/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gragrid/reviews/)

## 贡献者

 *   [ Vlass Contreras ](https://profiles.wordpress.org/vlass/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gragrid/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://github.com/vlasscontreras/gragrid)