Actions: Implementation

Easily set up your action's external webhook in NLX's Dialog Studio

What's the Implementation tab?

Implementation is where you'll set up a static response or external webhook/API for your action. When a conversation is brought to an Action node in an intent flow, the webhook for that action will trigger by sending a POST request to a specified URL and run the process required.

Need more context? See Action node


Access

To access this feature, click the Implementation tab of your action:


External implementation

External mode is used for integrating with a URL that triggers your action:

  • Set implementation toggle to External

  • Select the appropriate HTTP method from the Method dropdown (usually POST for an action)

  • Expand endpoint section > enter the URL

  • Use NLX's AWS CloudFormation template provided within the Instructions section

  • Click Save

Whether you have sensitive data or frequently enter the same URL string, try setting up a parameter in your workspace for enhanced security and efficiency.

Optional setup

  • Headers: expand section> click + Add header > enter the Name and static Value to be sent with the request. Useful for custom headers such as an API key, content type, content length, etc.

  • Dynamic: Enabling the toggle allows you to view the header and provide it a custom value on the Action node's side panel when triggering the action in an intent flow

  • Development endpoint: for situations where multiple URLs are used by the environment

Now that your implementation setup is complete, you may move on to configuring your request model.


Static response

Static mode is useful for creating a static payload when building demos or for early testing. Switch the implementation's toggle to Static to begin:

  • Enter your response in JSON structure

  • Click Save

Now that your implementation setup is complete, you may move on to configuring your request model.

Last updated