[Vtigercrm-developers] Webforms post processing
Alan Lord (News)
alanslists at gmail.com
Wed Sep 16 01:43:39 PDT 2009
On 16/09/09 08:50, Prasad wrote:
> Hi Alan,
>
> Workflow email task could help you. Please setup the workflow on a
> specific condition to detect the lead being created by Webforms.
Ahh - thanks I'd forgotten about that. I'll check that out later.
FWIW, I just made a script that runs on the "form host" which uses curl
to post the POST vars to vtiger. I get a true or false result on that
and am able to send a mail with the $_POST content.
One advantage I see is if there is a problem at the vtiger end, we will
not necessarily lose the contents of the form submission this way. The
POST vars are mailed to me on error too.
It's a bit quick and dirty but seems to work.
Cheers
Alan
> I am trying to work with the new Webforms module in vtiger 5.10.
>
> I'd like the "form end" (on a different server to the CRM) to email a
> notification with some of the form fields on completion of a successful
> entry.
>
> This was seemingly much easier to do using the old soap call method in
> 5.04 as you got a success or fail flag returned by the API.
>
> With the system in 5.10 I see no obvious way of determining if the POST
> was a success or not. It seems to me that I will have to process the
> _POST array and create my email *before* sending it to vtiger.
>
> Any help/advice much appreciated.
>
> Thanks
>
> Alan
More information about the vtigercrm-developers
mailing list