Skip to main content

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

Suggest edit
Updated on April 5, 2022

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.
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

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