Voiceflow PartnersVPVoiceflow Partners
Powered by
dry-scarletD
Voiceflow Partners•15mo ago•
9 replies
dry-scarlet

Event triggering approach ?

Hi lovely people 😉

I'm trying to do a test to trigger an Event, I have defined an event in the VF CMS.

I read the documentation https://docs.voiceflow.com/docs/using-the-events-cms , specifically the section A. Invoking Events via the API (it seems there are 2 ways to trigger a VF event, I would like to use the A's way through a VF rest api).

Just to test this, I have an step in my workflow that does a call to the VF API, and I passed there the even't information as stated in the documentation, I expected after the call my event is been triggered and the path tied to the event is executed, but nothing happened there:

In the image attached in the workflow, I expect on the "step 2" (The api call POST: https://general-runtime.voiceflow.com/state/user/
{user_id} ) passing in the body :

{
  "action": {
     "type": "event",
     "payload":{
       "event": {
         "name": "NameOfMyEvent"
        }
      }
  }
}
{
  "action": {
     "type": "event",
     "payload":{
       "event": {
         "name": "NameOfMyEvent"
        }
      }
  }
}


The api call is successful, it return an empty array with 201 http status code, but the path with my event "Step 3 in the attached image" has never initiated.

Am I missing something ??

Thanks in advance!
image.png
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

Triggering Multiple Exit Conditions
SaadatSSaadat / ❓┃ask-a-question
2mo ago
hotkeys triggering while typing in editor
spotty-amberSspotty-amber / ❓┃ask-a-question
2y ago
Todays Event Replay
W. Williams (SFT)WW. Williams (SFT) / ❓┃ask-a-question
8mo ago
API - event listening
uncertain-scarletUuncertain-scarlet / ❓┃ask-a-question
2y ago