Customer management
Business flow example
We will explore an example in which we integrate a customer search in a business flow.
Follow the next steps to use the user personal number to perform a search query in the customer management plugin.
- First make sure the details about customers are indexed in the search engine (for example, elasticSearch).
- Open FlowX Designer and create a process definition.
- Add a Send Message Task node.
- Configure the Send Message Task node by adding the following elements:
- Kafka topic - defined on the
KAFKA_TOPIC_CUSTOMER_SEARCH_IN
environment variable - Message body (example of identifiers for an indexed customers):
For more examples of keys, check Using the customer management plugin.
- Add a Receive Message Task.
- Configure the topic on which you want to receive the response from the CRM, on the value of
KAFKA_TOPIC_CUSTOMER_SEARCH_OUT
environment variable.
Response example:
Was this page helpful?