[英]Machform integration with Salesforce
What i want: 我想要的是:
I have created a form in machform . 我已经在machform中创建了一个表单。 Now I need to save this form data to my salesforce account somewhere (either as account or leades or contacts that's not the issue)
现在,我需要将此表单数据保存到我的salesforce帐户中的某个地方(无论是作为帐户还是潜在客户或联系人)
What i tried: 我的尝试:
1. I tried to follow this tutorial: 1.我试图遵循本教程:
https://www.machform.com/blog-mailchimp-integration/ https://www.machform.com/blog-mailchimp-integration/
And try to send data through Use Custom HTTP Headers but failed. 并尝试通过使用自定义HTTP标头发送数据,但失败。
2. I tried to use Machform->settings->send data to another website to do integration with salesforce. 2.我尝试使用Machform->设置->将数据发送到另一个网站来与Salesforce集成。 But as I said I am failed.
但是正如我所说,我失败了。
3. I asked a question to forum also, But they din't replied. 3.我也向论坛提问,但是他们没有回答。
What I have succeeded is only create a form with input-text+radio button+textarea and save its value to machfrom itself as well as send all data to admin+registered user in mail. 我已经成功完成的工作仅是创建一个带有输入文本+单选按钮+文本区域的表单,并将其值保存到自身的mach中,并将所有数据通过邮件发送给admin +注册用户。
Note: there is no code data so I am unable to give any code. 注意:没有代码数据,所以我无法提供任何代码。
I've never even heard about that Machform app so take my answer with a grain of salt. 我什至从未听说过该Machform应用程序,因此请一言以蔽之。
Typically sending data to Salesforce requires at least 2 steps (doesn't matter which API is used): 通常,将数据发送到Salesforce至少需要2个步骤(与使用哪个API无关):
So unless your app has some options for multi-step forms you'll have hard time without coded solution. 因此,除非您的应用程序具有针对多步表单的某些选项,否则您将无法使用编码解决方案。 In a pinch the user could authenticate in SF earlier and copy-paste his session id but that's poor usability.
紧急情况下,用户可以在SF中进行身份验证,然后将其会话ID复制粘贴,但是可用性很差。
If you have a Salesforce Admin handy, he/she could create a Web-to-Lead solution in SF. 如果您有Salesforce管理员,那么他/她可以在SF中创建Web-to-Lead解决方案。 it's pure configuration and at the end you're left with piece of HTML code generated by SF that you can inject to any website you wish.
这是纯配置,最后剩下的是SF生成的HTML代码,您可以将其插入到您想要的任何网站中。 So you could have a look at this form, see what data it passes, to what end URL and reuse it.
因此,您可以查看此表单,查看其传递的数据,到达的最终URL并重新使用它。
At least now you have some keywords you can search for in detail ;) 至少现在您有了一些可以详细搜索的关键字;)
After searching and working on it i got pretty simple solution (step-by-step given below):- 经过搜索和处理后,我得到了非常简单的解决方案(下面提供了分步说明):-
Go to your salesforce account->Setup 转到您的salesforce 帐户->设置
In the left side bar click Customize->leads->Web-to-lead. 在左侧栏中,单击“ 自定义”->“潜在客户”->“网络至潜在客户”。
Now click on "Create-Web-To-Lead-Form" button.Now you will see this window:- https://prnt.sc/gtz6xw 现在单击“创建Web到引线表格”按钮。现在您将看到此窗口:-https: //prnt.sc/gtz6xw
We did this much only to get the unique id+url+fields name attribute through which we are going to save machForm form data to salesforce. 我们这样做只是为了获得唯一的id + url + fields name属性,通过该属性我们可以将machForm表单数据保存到salesforce。
Now time to go to MachForm account and under you form click edit.:- https://prnt.sc/gtzapt 现在是时候去MachForm帐户了,在您的表单下单击Edit。:- https://prnt.sc/gtzapt
You wiil see a box is open under it. 您将看到下面有一个打开的盒子。 Now we will add things one-by-one
现在我们将一一添加
Inside Website URL add the url you get from "Web-To-Lead-Form" :- https://prnt.sc/gv1bi7 在网站URL内添加从“ Web-To-Lead-Form”获得的URL: -https : //prnt.sc/gv1bi7
Skip other things and now come to Parameters. 跳过其他事情,现在进入参数。 Now the name filed need to be matxh to corresponding names of "Web-To-Lead-Form" so that it can match.
现在,提交的名称必须与“ Web-To-Lead-Form”的相应名称相匹配,以便可以匹配。
First Name field== first_name. Last Name field == last_name.
Now to get machform data for corresponding value click on merge tag and select particular tag. 现在,要获取对应值的machform数据,请单击merge标签并选择特定标签。 Now you will get it's value, copy paste it to the corresponding column.:- https://prnt.sc/gtzws2
现在您将获得它的值,将其复制粘贴到相应的列中。 : -https : //prnt.sc/gtzws2
Now you can test your form and you will see that it's data save to "Leads section" inside "salesforce". 现在,您可以测试表单,您将看到它的数据保存到“ salesforce”中的“ Leads section”。
Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.