Skip to Content
0
Feb 28 at 08:27 AM

Extract email attachments and send data to SuccessFactors

90 Views

Hi All,

I need to extract an Excel file from an email as an attachment and convert it to JSON, then dynamically set the data and send it to SuccessFactors. I can do it manually via Message Body in Content Modifier, but I need to dynamically set data directly from Excel step like this. My manual example is here:

1.png

How to insert data dynamically? Can I write Groovy script in Content Modifier Message Body? (I'm new to SAP BTP field) i made like example in below, but it doesn't seem to be working.

2.png

Regards

Attachments

1.png (28.2 kB)
2.png (36.0 kB)