Skip to main content

im trying to connect manychat with zapier with webhook. I want to generate a reply with chatgpt in zapier then send that reply back to manychat using webhook, but when I add variables in data field. the error says: The error occurs because Zapier can't find or properly use the data from the previous step ({{300818445__response__content}}). it says I should re test the previously step and check mapping but I did everything and it seems fine

 

Hi ​@Leviw05 

What is the link to the app API endpoint you used to configure the API request in the Zap step? 

FYI: It’s kind of hard to review the screenshot due to it being in dark mode.

 


maybe its better now

 


@Leviw05 

What is the link to the app API endpoint you used to configure the API request in the Zap step? 

 

Screenshot does not show all of the sections of the API request in the CONFIGURE tab to give us full context. (e.g. Headers)


do u mean the URL? cause idk what do you mean. https://api.manychat.com/fb/sending/sendContent


@Leviw05 

This is the Manychat API: https://api.manychat.com/swagger

This is the link to the Manychat API endpoint it appears you are using: 

https://api.manychat.com/swagger#/Sending/b6ae94031676b69a57eb2ad5ea1413f9

You are missing 2 Headers:

  • accept: application/json
  • Content-Type: application/json

Also looks like your Data is not configured properly based on the API endpoint requirements.

Reference the links in the API endpoint documentation.

 


so I copy paste the link u sent, and add both headers?
and what do I do with those data, I want to send back the AI response

 


@Leviw05 

If you aren’t sure how to interpret API endpoint documentation for how to configure an API request in a Zap step, then you may want to try these options:

  • ask ChatGPT for help for how to configure the API request
  • consider hiring help, there is a directory of Certified Zapier Experts: https://zapier.com/experts

@Troy Tessalone 

Do I use the key-value structure in the zap and just type the things like id: (id variable)
or do it with custom request and raw json code?
chat gpt keep telling me that but even if I do that it still wont work


@Leviw05 

From the Manychat API endpoint documentation: 

Data format: https://manychat.github.io/dynamic_block_docs/
Supported message tags: https://developers.facebook.com/docs/messenger-platform/send-messages/message-tags#supported_tags
More about message tags in Manychat: https://support.manychat.com/support/solutions/articles/36000195552-message-tags

Attention! After March 4, 2020 requests without message tag may cause error

 

Try sharing screenshots of your Zap step config with ChatGPT to ask if that is correct.


ofc I did that and now im limited cause I have the free version of chat gpt, and when I do the exact steps it tells me then it just wont work,

The error in your Zap is likely due to missing or incorrect data being passed from the previous step

this is what I get every time, but I did the troubleshooting things and checked the previous steps in zapier and checked everything and it was fine, and now I dont know why it wont work.

manychat links and guides u sent wont help here I think


@Leviw05 

Using app APIs in Zaps is an advanced approach that involves technical concepts.

Some app API endpoints are easier to configure than others because those have less requirements.

Every app API has different requirements for their combo of:

  • Method
  • URL
  • Data
    • Format, fields, values, etc.
  • Headers
    • Authentication

thats clean and I checked the document u sent about manychat I used that code but it didnt worked.

im really helpless now

 


Could you post the error you are facing?


@hmhg 

I have this in the error and this i smy config tab:

 

This post has been edited by a moderator to remove personally identifiable information (PII). Please remember that this is a public forum and avoid sharing sensitive details.


where can I learn all these stuff cause chatgpt seems to be wrong, I keep getting this error no matter what I do, I even checked the manychat fields and created new ones.

@Troy Tessalone 

or is there any other way to get chatgpt reply to manychat and then send it to the user on instagram? 

 

 


Hey ​@Leviw05!

Just came across this and wanted to check how it’s going. I see you reached out to the Support team and you were going to reach out to ManyChat directly for assistance with this. Were they able to help get things sorted?

If they did, would you be up for sharing what the solution was? It could be really helpful for others that might be having similar issues 🙏

And if not and you’re still stuck I’d be happy to lend a hand, just let me know! 🙂