Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Extending Interaction API

Updated on March 11, 2021

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 Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us