@Sebastian this is working now. I have tested it. But I am getting empty data for reference fields in Article Schema. Articles Schema has 3 reference fields i.e author, hashtag and subcategory.
I have used the below code in the document payload to pass event data values for Article Schema in the Action on trigger of an updation of an article
and I am getting the following output in Algolia
The red ones I am unable to populate because the are reference fields. Can you please help me correct the syntax for reference fields