Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I'm trying to import an email from Salesforce to drive node creation in Drupal 7. I've got mailhandler/feeds set up to do most of the heavy lifting, but the one thing I can seem to figure out is how to populate 4 separate fields in the node from a single email.

I know I can map the subject line as one field and the body as another, but isn't there a simple way to parse the body content into three distinct fields?

share|improve this question
 
is there any way to identify these parts of the mail? –  Mohammed Shameem Feb 2 at 4:26

2 Answers

You can take a look at Feeds Tamper that allows you to modify data before it gets saved. Then create a custom plugin if needed.

share|improve this answer
 
DnBase, thanks for the reply! I'll have to take a look at Feeds Tamper. –  Mike G Feb 5 at 22:19

Just in case you aren't already aware, there is a Salesforce module available. See drupal.org/project/salesforce.

The project page says it supports pulling Salesforce data into Drupal, so it may fit the bill.

share|improve this answer
 
MEsch, thank you; I didn't know this module even existed. SFDC doesn't like data flowing out programmatically, so I didn't think a module like this was an option. –  Mike G Feb 5 at 22:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.