Skip to main content
Solved

Can Any One share a template to integration of facebook Messanger and openai assistant, through manychat

  • February 25, 2025
  • 5 replies
  • 76 views

Numpy Ninja

I tried a automation , but i got lot’s of errors.

My problems are:

1.When there are two messages at a time then it is leads to error in my automation. Like is is sending a same message twice.

​​​​​​​2.And The Manychat time out is 9 seconds , that one is major problem causing more problems in my automation.

Can any one please share some tips or template to openai assistant and facebook integration in manychat automation.

Best answer by Gustavo Boregio

Hey ​@Numpy Ninja I have a tested Manychat + OpenAI Assistants Template, that I sell.

It works directly with OpenAI, with no software in the middle. Let me know if you’re interested and I can send you a loom video about it.

Regarding your other questions:

  1. check this video:   It’s in Spanish, but it will solve your problem (I need to record an English version of this video asap!)
  2. The problem here is that you’re using something in the middle, so the 10s timeout on external requests apply. For anything on the openai.com domain, the external request timeout is extended in Manychat (can’t remember if it was 60s or 3 minutes). So if you do a direct integrations Manychat <> OpenAI you stop having timeout issues.

Hope this helps!

5 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • Answer
  • February 25, 2025

Hey ​@Numpy Ninja I have a tested Manychat + OpenAI Assistants Template, that I sell.

It works directly with OpenAI, with no software in the middle. Let me know if you’re interested and I can send you a loom video about it.

Regarding your other questions:

  1. check this video:   It’s in Spanish, but it will solve your problem (I need to record an English version of this video asap!)
  2. The problem here is that you’re using something in the middle, so the 10s timeout on external requests apply. For anything on the openai.com domain, the external request timeout is extended in Manychat (can’t remember if it was 60s or 3 minutes). So if you do a direct integrations Manychat <> OpenAI you stop having timeout issues.

Hope this helps!


Numpy Ninja
  • Author
  • Up-and-Comer
  • February 26, 2025

Hey ​@Numpy Ninja I have a tested Manychat + OpenAI Assistants Template, that I sell.

It works directly with OpenAI, with no software in the middle. Let me know if you’re interested and I can send you a loom video about it.

Regarding your other questions:

  1. check this video:   It’s in Spanish, but it will solve your problem (I need to record an English version of this video asap!)
  2. The problem here is that you’re using something in the middle, so the 10s timeout on external requests apply. For anything on the openai.com domain, the external request timeout is extended in Manychat (can’t remember if it was 60s or 3 minutes). So if you do a direct integrations Manychat <> OpenAI you stop having timeout issues.

Hope this helps!

I am using Replit as a middle for storing the thread_id’s and user_id’s to preserve the context for users.
 Are we able to do this using direct integration to openai api from manychat ?

Thanks in advance.


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • February 26, 2025

@Numpy Ninja yes, it’s possible! And it works perfectly!

The whole backend logic looks something like this:

 

I’ve been using this template I created for several months and it works perfectly. If you have your assistant trained, you can get your Assistant running in Manychat in less than 5 minutes with this template.


Numpy Ninja
  • Author
  • Up-and-Comer
  • February 28, 2025

Thank you very much for helping.

You are doing a great job by posting all these data.

I have a doubt in this shared template , what are these automation : Assistants API : Configurar, Assistants API Reincier.

 

Thanks Once again. 


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • February 28, 2025

@Numpy Ninja I have it setup so I can use multiple assistants in a single conversation and reset the memory if I want. That’s what these are ;)