<?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: Posting data to Pipelinedeals.com</title>
		<link>https://legacy.forums.gravityhelp.com/topic/posting-data-to-pipelinedealscom</link>
		<description>Gravity Support Forums Topic: Posting data to Pipelinedeals.com</description>
		<language>en-US</language>
		<pubDate>Fri, 01 May 2026 20:44:34 +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/posting-data-to-pipelinedealscom" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Posting data to Pipelinedeals.com"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-data-to-pipelinedealscom#post-96756</link>
			<pubDate>Wed, 28 Nov 2012 23:19:10 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">96756@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for posting your updated code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>springbd on "Posting data to Pipelinedeals.com"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-data-to-pipelinedealscom#post-96641</link>
			<pubDate>Wed, 28 Nov 2012 15:06:31 +0000</pubDate>
			<dc:creator>springbd</dc:creator>
			<guid isPermaLink="false">96641@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So after getting completely distracted by other projects, I finally came back to this and after going through the var_dumps, this is the code I've come up with and it works! In case anyone else is trying to do this, here it is. It turns out I was just missing the thank you page address.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_after_submission_6&#38;#39;, &#38;#39;post_to_third_party&#38;#39;, 10, 2);
function post_to_third_party($entry, $form) {

    $post_url = &#38;#39;https://www.pipelinedeals.com/web_lead&#38;#39;;
    $body = array(
		&#38;#39;w2lid&#38;#39; =&#38;gt; &#38;#39;xxxxxxxxxxxxxxx&#38;#39;,
		&#38;#39;thank_you_page&#38;#39; =&#38;gt; &#38;#39;http://www.thankyoupageaddress.com&#38;#39;,
        &#38;#39;lead[first_name]&#38;#39; =&#38;gt; $entry[&#38;#39;1.3&#38;#39;],
        &#38;#39;lead[last_name]&#38;#39; =&#38;gt; $entry[&#38;#39;1.6&#38;#39;],
		&#38;#39;lead[company_name]&#38;#39; =&#38;gt; $entry[&#38;#39;2&#38;#39;],
        &#38;#39;lead[email]&#38;#39; =&#38;gt; $entry[&#38;#39;3&#38;#39;],
		&#38;#39;lead[website]&#38;#39; =&#38;gt; $entry[&#38;#39;4&#38;#39;],
		&#38;#39;lead[phone]&#38;#39; =&#38;gt; $entry[&#38;#39;5&#38;#39;],
		&#38;#39;lead[custom_value_1]&#38;#39; =&#38;gt; $entry[&#38;#39;7&#38;#39;],
		&#38;#39;lead[custom_value_2]&#38;#39; =&#38;gt; $entry[&#38;#39;9&#38;#39;],
		&#38;#39;note_1&#38;#39; =&#38;gt; $entry[&#38;#39;10&#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;</description>
		</item>
		<item>
			<title>Chris Hajer on "Posting data to Pipelinedeals.com"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-data-to-pipelinedealscom#post-86116</link>
			<pubDate>Thu, 01 Nov 2012 07:19:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">86116@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You are going to have to debug by seeing what is sent to pipelinedeals and then what the response is. Can you var_dump the $entry around line 3 of the above code, to see what it contains (make sure everything is where you think it is, and in the proper format) and then dump the $body and the $response as well.  You can check the status of the request at every point along the way in your code.&#60;/p&#62;
&#60;p&#62;Does pipelinedeals have any logging where you can see the status of the request?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>springbd on "Posting data to Pipelinedeals.com"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/posting-data-to-pipelinedealscom#post-85870</link>
			<pubDate>Wed, 31 Oct 2012 16:53:07 +0000</pubDate>
			<dc:creator>springbd</dc:creator>
			<guid isPermaLink="false">85870@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm trying to send the form data from a lead generation form over to pipelinedeals.com, using gform_after_submission. Here is the code I've put into the functions.php file for the theme:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_after_submission_6&#38;#39;, &#38;#39;post_to_third_party&#38;#39;, 10, 2);
function post_to_third_party($entry, $form) {

    $post_url = &#38;#39;https://www.pipelinedeals.com/web_lead&#38;#39;;
    $body = array(
		&#38;#39;w2lid&#38;#39; =&#38;gt; &#38;#39;xxxxxxxxxxxxx&#38;#39;,
        &#38;#39;lead[first_name]&#38;#39; =&#38;gt; $entry[&#38;#39;1.3&#38;#39;],
        &#38;#39;lead[last_name]&#38;#39; =&#38;gt; $entry[&#38;#39;1.6&#38;#39;],
		&#38;#39;lead[company_name]&#38;#39; =&#38;gt; $entry[&#38;#39;2&#38;#39;],
        &#38;#39;lead[email]&#38;#39; =&#38;gt; $entry[&#38;#39;3&#38;#39;],
		&#38;#39;lead[website]&#38;#39; =&#38;gt; $entry[&#38;#39;4&#38;#39;],
		&#38;#39;lead[phone]&#38;#39; =&#38;gt; $entry[&#38;#39;5&#38;#39;],
		&#38;#39;lead[custom_value_1]&#38;#39; =&#38;gt; $entry[&#38;#39;7&#38;#39;],
		&#38;#39;lead[custom_value_2]&#38;#39; =&#38;gt; $entry[&#38;#39;9&#38;#39;],
		&#38;#39;note_1&#38;#39; =&#38;gt; $entry[&#38;#39;10&#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;So I'm not sure how I can troubleshoot this, I don't get any error messages, the form contents hit the database and get emailed to us as normal, but they don't seem to go over to pipelinedeals as far as I can tell.&#60;/p&#62;
&#60;p&#62;Here's Pipelinedeals' api documents if that matters: &#60;a href=&#34;https://www.pipelinedeals.com/api/docs/web_to_leads&#34; rel=&#34;nofollow&#34;&#62;https://www.pipelinedeals.com/api/docs/web_to_leads&#60;/a&#62;, basically they're looking for a normal form with a POST action pointed at 'https://www.pipelinedeals.com/web_lead', which is the address I set gform_after_submission to post to.&#60;/p&#62;
&#60;p&#62;So, anyone have any advice with this? Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
