LinkedIn
Copied!

Table of Contents

Extending Interaction API

Version:

Only available versions of this content are shown in the dropdown

Customize the Interaction API to suit your business needs.

You can use different combinations of text analyzers and decision strategies by creating channel-specific classes that inherit from Data-Decision-Request/Response classes, depending on the conversation channel. In general, to configure the Interaction API, perform the following actions:

  1. For each channel, create a class that inherits from the Data-Decision-Request class, for example, Data-Decision-Request-Email.

  2. Use the Save as option to copy the following rules to the request class that you created:

    • pyInteractionDF
    • pyInteractionStrategy
    • pyInteractionTA
  3. Create a class that inherits from the Data-Decision-Response class, for example, Data-Decision-Response-Email.

  4. Optional: Create channel-specific properties.

  5. Invoke the pyRunInteraction activity that calls the channel-specific instance of the pyInteractionDF data flow.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.