Title: send data to AWS lambda function from contact form 7
Last modified: March 3, 2021

---

# send data to AWS lambda function from contact form 7

 *  Resolved [seamusreeve](https://wordpress.org/support/users/seamusreeve/)
 * (@seamusreeve)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/)
 * Hey!
    I’ve never used WordPress and am doing this for a client’s marketing site.
   I want to call my API with values from a sign-up form (Contact form 7), I’ve 
   tried a few things but I figured using webhooks would be best. Any help would
   be great, I’m really stuck. I need to send form data to my Lambda function using
   this plugin, any ideas? Completely new to WordPress so I haven’t a clue, thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14131313)
 * Hey [@seamusreeve](https://wordpress.org/support/users/seamusreeve/) – Thank 
   you very much for reaching out, as well as for your interest in our plugin!
    
   To make it work, you can use our core plugin (this one), in combination with 
   our CF7 extension: [https://wordpress.org/plugins/wpwh-contact-form-7/](https://wordpress.org/plugins/wpwh-contact-form-7/)
 * To tell you more about how you can connect it to Lambda, could you please share
   some further information on which endpoints are available to send the data to?
   Any link for documentation would help us too. 🙂
 *  Thread Starter [seamusreeve](https://wordpress.org/support/users/seamusreeve/)
 * (@seamusreeve)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14135909)
 * hey Ironkus, thanks for your quick reply – I’ll take a little look now and will
   report back. My test API is [https://api.seamus.nurserystory.co.uk/sign-up](https://api.seamus.nurserystory.co.uk/sign-up)
   
   I have a resolver on there that will parse the data and handle it, will have 
   a play around now.
 *  Thread Starter [seamusreeve](https://wordpress.org/support/users/seamusreeve/)
 * (@seamusreeve)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14135982)
 * Okay so,
    1. I have installed and activated the plugin 2. Gone into settings 
   of webhooks and switched on `Send Data On Contact Form 7 Submits`. 3. Gone into`
   Send Data` and added my endpoint (above). 4. Changed some settings (Allow unsafe
   URLs, Trigger on selected forms) 5. Used my CF7 but nothing happens
 * Thanks again and sorry I’m new to WordPress, I’m probably missing something quite
   fundamental
 *  Plugin Contributor [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14136025)
 * Hey [@seamusreeve](https://wordpress.org/support/users/seamusreeve/) – Thank 
   you for all the additional details. The steps look correct so far. Have you tried
   to also check if the “Send Demo” button works correctly?
 * Alternatively, I suggest you using [https://webhook.site/](https://webhook.site/)
   to send some data to it. Once you trigger the form, it should show the data at
   that URL.
 *  Thread Starter [seamusreeve](https://wordpress.org/support/users/seamusreeve/)
 * (@seamusreeve)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14138308)
 * so I’ve set the send demo button up with the Ironikus test, so inside `receive
   
   data` I’ve added the test and firing it seems to give me a success message but
   I’m unsure what this does? I checked my API logs and nothing has come through
   on my end.
    -  This reply was modified 5 years, 3 months ago by [seamusreeve](https://wordpress.org/support/users/seamusreeve/).
 *  Plugin Contributor [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14140510)
 * Hey [@seamusreeve](https://wordpress.org/support/users/seamusreeve/) – thank 
   you for the additional details.
 * Form your Message it seems that there’s a misunderstanding of “Send Data” and“
   Receive Data”.
    Basically “Send Data” are the triggers that are fired on certain
   events within your WordPress dashboard, while the “Receive Data” accepts data
   from external Webhooks. As you want to send data to your own application, you
   only need the “Send Data” tab to add the URL for the specific trigger and check
   what arrives there. Once you press the “Send Demo” button, a demo request is 
   sent to the added URL so you can see what arrives at your external service.
 * If there’s no data, there might be some security measurements blocking the request,
   or any cache interfering with the logic.
 * To make sure the plugin is working correctly from your end, I suggested checking
   out the webhook.site service as it allows you to see the data that our trigger
   would send.
    Once you open the site, you will see an URL, which you can add the
   the “Send Data” tab. After you added it, just press the “Send Demo” button and
   you should see some data arriving at the webhook.site page. If this is the case,
   you have a confirmation that the trigger itself will work as expected and the
   issue must be on the receiver site. Feel free to let me know in case you have
   any further questions. 🙂
 *  Thread Starter [seamusreeve](https://wordpress.org/support/users/seamusreeve/)
 * (@seamusreeve)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14219380)
 * Hey!
    Me again. I’ve had a little play and can get data sent from the WP CF7 
   to webhook.site all okay, but if I try to send it to my API I get the following…
 * cURL error 6: Could not resolve host:
 * I can also call my API via postman all okay and not get any issues, so was wondering
   if you knew if this was because of something in particular.
    I’ve read online
   that sometimes other plugins can alter the outcomes of API calls etc. Would this
   be anything to do with this? Only the client had previously set up a WordPress
   webhook, and it worked all okay (no settings needed on our AWS API that is, so
   I know it can work)
 *  Thread Starter [seamusreeve](https://wordpress.org/support/users/seamusreeve/)
 * (@seamusreeve)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14223669)
 * could this be my wordpress version, I am using 5.7?
 *  Plugin Contributor [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14224104)
 * Hey [@seamusreeve](https://wordpress.org/support/users/seamusreeve/) – Thank 
   you for your answer.
    Is the website you are trying to call publicly available
   or a localhost site? As webhook.site works, it’s most likely that the issue has
   to do with either your domain or the server you are running the site on. Thank
   you already very much.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘send data to AWS lambda function from contact form 7’ is closed to new
replies.

 * ![](https://ps.w.org/wp-webhooks/assets/icon-256x256.jpg?rev=2656397)
 * [WP Webhooks - Automate repetitive tasks by creating powerful automation workflows directly within WordPress](https://wordpress.org/plugins/wp-webhooks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-webhooks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-webhooks/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-webhooks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-webhooks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-webhooks/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Ironikus](https://wordpress.org/support/users/ironikus/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/send-data-to-aws-lambda-function-from-contact-form-7/#post-14224104)
 * Status: resolved