- 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.
