Integrating Wufoo with Sendy

Posted on: July 19th, 2013 by patrick 3 Comments

I am an avid user of Wufoo amd a new user of Sendy. I have been considering a switch to Sendy from another big name mail service. The reason is simple - money. Sendy is super cheap, and nearly free in contrast to the hosted services. And since my email lists are big, but produce very little direct revenue it is painful to fork over the bucks for a fancy hosted service.

A big key for me to switch is that I can integrate Wufoo forms with the app. So, when a user submits a Wufoo form I want to put them on a mailing list. This is easy to do with other services as it is built into Wufoo. Sendy of course is not. So I had to make use of the Wufoo webhook feature. This combined with a script from Ben at Sendy I was off and running. Here is what I did:

1 Use RequestBin to setup a capture page for the Wufoo webhook request: This will allow you to see what Wufoo is sending over. Instead of named fields (like "name" or "email") they send over messed up sequentially named fields. In my case, the field name for the email address is "Field627". RequestBin makes it crazy simple to figure this out as I presume it is different for every form.

2. Inside of Wufoo add a webhook notification to a form. Point it at your Request Bin url.

3. Fill out your form and submit it

4. Check the results on RequestBin. You should now have the names for your fields.

5. Download my modified version of Bens PHP file (see above for Bens original): Download here

6. Plugin your installation url (Make sure to leave off the trailing /)

7. Get the ID for your list from Sendy and plug it into the PHP file

8. Get the API key from Sendy and plug it into the PHP file.

9. Rename the file and upload it to your web server. You could have a huge set of these interface files to handle the Wufoo to sendy handoff. One for each combination of a form going to a list. So name your files in some intelligent way.

10. Note the URL to your new file on your webserver

11. Inside Wufoo, delete the notification to RequestBin

12. Create a new webhook that points to the PHP file we have created and uses your Sendy API key.

13. Go test your results and see if it works. Anyone submitting the Wufoo form should be added to the target Sendy email list.

I hope this helps. Given that there are not really any Sendy tutorials out there yet, I figured I would share what I did. I am sure there are bigger and better ways of doing this, but at least this works. I also imagine you could extend this to easily map Wufoo fields to custom Sendy fields.


  • suresh kumar

    Thanks for sharing

  • Jeff Johnson

    Can you elaborate on Step 8: “Get the API key from Sendy and plug it into the PHP file.”
    I don’t see a placeholder in the .php file for this.

  • Marcellus Wallace

    +1 @disqus_tKtkb7EygS:disqus Where should the API key from Sendy be added in the PHP file ?