<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Need help with gform_after_submission to Zoho CRM</title>
		<link>https://legacy.forums.gravityhelp.com/topic/need-help-with-gform_after_submission-to-zoho-crm</link>
		<description>Gravity Support Forums Topic: Need help with gform_after_submission to Zoho CRM</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:49:52 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/need-help-with-gform_after_submission-to-zoho-crm" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Need help with gform_after_submission to Zoho CRM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/need-help-with-gform_after_submission-to-zoho-crm#post-80099</link>
			<pubDate>Wed, 10 Oct 2012 11:54:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">80099@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you echo the variables or dump the arrays at every point to see if they contain the values you expect them to?  Also, can you check the value of $response when it returns and see what that contains?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Meissner Nordic on "Need help with gform_after_submission to Zoho CRM"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/need-help-with-gform_after_submission-to-zoho-crm#post-79918</link>
			<pubDate>Tue, 09 Oct 2012 20:40:01 +0000</pubDate>
			<dc:creator>Meissner Nordic</dc:creator>
			<guid isPermaLink="false">79918@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have created a simple form to test sending entries from Gravity Forms to my client's ZohoCRM account. Here is the code that I've placed in the theme's functions.php file:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_after_submission_11&#38;#39;, &#38;#39;post_to_third_party&#38;#39;, 10, 2);
function post_to_third_party($entry, $form) {

    $post_url = &#38;#39;https://crm.zoho.com/crm/private/xml/Leads/insertRecords?authtoken=bba8f9f96fba37315278dd45d4cf2###&#38;amp;scope=crmapi&#38;#39;;
    $body = array(
        &#38;#39;First Name&#38;#39; =&#38;gt; $entry[&#38;#39;1.3&#38;#39;],
        &#38;#39;Last Name&#38;#39; =&#38;gt; $entry[&#38;#39;1.6&#38;#39;],
        &#38;#39;Email&#38;#39; =&#38;gt; $entry[&#38;#39;5&#38;#39;],
        &#38;#39;Phone&#38;#39; =&#38;gt; $entry[&#38;#39;4&#38;#39;],
        );

    $request = new WP_Http();
    $response = $request-&#38;gt;post($post_url, array(&#38;#39;body&#38;#39; =&#38;gt; $body));

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Where gform_after_submission_11 is for form ID = 11, and I replaced the last 3 digits of our API token with # for security's sake.&#60;/p&#62;
&#60;p&#62;The form creates entries within Gravity Forms, but nothing shows up in Zoho. Do you know if there is a way for me to debug or look for errors? Any suggestions on the code itself?&#60;/p&#62;
&#60;p&#62;I've also tried to do this with Contacts, but no luck.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
