Lindy Community Icon

Using Webhook Data in Lindy: Guidance for New Users

·
·

Hi everyone! I'm new here and a bit confused on how to refer and use data from a Webhook. I see that the body of my POST request is received by Lindy as expected. However on the example from Lindy's support article on webhooks they have the option to refer to "request body" in the next steps - I don't see this option anywhere. I do have the option to pick "body" when selecting "AI prompt" but then I get something completely different than the body actually sent via the webhook, I get a custom made message containing some of the data from the request body, but some of it is just missing. I'd just like to refer to the exact parameters sent in the body.

  • Avatar of lindy
    lindy
    ·
    ·

    Hey julia! Are you referring to once the webhook has been received?

  • Avatar of Julia B.
    Julia B.
    ·
    ·

    Yes that's right!

  • Avatar of lindy
    lindy
    ·
    ·

    you can just refer to it in any of your prompts 🙂

  • Avatar of Julia B.
    Julia B.
    ·
    ·

    That's the thing I can't seem to select the request.body anywhere in the follow up actions prompts even though the Webhook as been received as expected I do see "body" but no specific parameters like mentioned on the support article

  • Avatar of lindy
    lindy
    ·
    ·

    you can just add a prompt use the data received in the webhook and send XYZ

  • Avatar of lindy
    lindy
    ·
    ·

    (total example)

  • Avatar of lindy
    lindy
    ·
    ·

    but TLDR: you dont need to select anything! just add a prompt 🙌🏼

  • Avatar of Julia B.
    Julia B.
    ·
    ·

    Makes sense! Thanks a lot 🙂

  • Avatar of lindy
    lindy
    ·
    ·

    also just fyi → body is the same as request.body