{"id":6084,"date":"2014-09-30T18:00:29","date_gmt":"2014-09-30T09:00:29","guid":{"rendered":"http:\/\/synergylead.jp\/?p=5365"},"modified":"2021-03-19T11:53:00","modified_gmt":"2021-03-19T02:53:00","slug":"salesforce-mailservice-sample","status":"publish","type":"post","link":"https:\/\/www.synergy-marketing.co.jp\/blog\/salesforce-mailservice-sample","title":{"rendered":"\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u6a5f\u80fd\u3092\u5229\u7528\u3057\u3066\u30e1\u30fc\u30eb\u7d4c\u7531\u306e\u30c7\u30fc\u30bf\u767b\u9332\u3092\u884c\u3046"},"content":{"rendered":"<p>Salesforce\u306b\u306f\u6a19\u6e96\u3067\u300cWeb-to-\u30ea\u30fc\u30c9\u300d\u3084\u300c\u30e1\u30fc\u30eb-to-\u30b1\u30fc\u30b9\u300d\u306a\u3069\u6570\u3005\u306e\u30c1\u30e3\u30cd\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u8fbc\u3080\u624b\u6bb5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4e2d\u3067\u3082\u30e1\u30fc\u30eb-to-\u30b1\u30fc\u30b9\u306f\u3001\u30e1\u30fc\u30eb\u3068\u3044\u3046\u89aa\u3057\u307f\u6df1\u3044\u3082\u306e\u3092\u5229\u7528\u3057\u3066\u304a\u308a\u3001\u624b\u8efd\u306b\u4f7f\u3048\u308b\u6a5f\u80fd\u3067\u3042\u308b\u305f\u3081\u3001\u5229\u7528\u3057\u3066\u3044\u308b\u65b9\u3082\u304a\u3089\u308c\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30e1\u30fc\u30eb-to-\u30b1\u30fc\u30b9\u3067\u306f\u30b1\u30fc\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u307f\u3092\u767b\u9332\u306e\u5bfe\u8c61\u3068\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4ed6\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u4f8b\uff1a\u53d6\u5f15\u5148\u8cac\u4efb\u8005\u3084\u30ea\u30fc\u30c9\uff09\u306b\u3064\u3044\u3066\u3082\u540c\u3058\u3088\u3046\u306b\u30e1\u30fc\u30eb\u304b\u3089\u767b\u9332\u3057\u305f\u3044\u3068\u3044\u3046\u8981\u671b\u3082\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u4e0a\u8a18\u8981\u671b\u3092\u304b\u306a\u3048\u308b\u305f\u3081\u306b\u3001Salesforce\u306e\u300c<a href=\"https:\/\/help.salesforce.com\/HTViewHelpDoc?id=code_email_services.htm&amp;language=ja\" target=\"_blank\" rel=\"noopener\">\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u6a5f\u80fd<\/a>\u300d\u3092\u4f7f\u3063\u305f\u3001\u7c21\u5358\u306a\u30ea\u30fc\u30c9\u30c7\u30fc\u30bf\u767b\u9332\u30d7\u30ed\u30b0\u30e9\u30e0\uff08\u3044\u308f\u3086\u308b\u300c<strong>\u30e1\u30fc\u30eb-to-\u30ea\u30fc\u30c9\u300d<\/strong>\uff01\uff09\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<ul>\n<li>\u672c\u8a18\u4e8b\u3067\u306f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u6a5f\u80fd\u306b\u95a2\u3057\u3066\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4e00\u90e8Apex\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u3082\u89e6\u308c\u3066\u3044\u308b\u7b87\u6240\u304c\u3042\u308a\u307e\u3059\u3002\u3042\u3089\u304b\u3058\u3081\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>\u672c\u8a18\u4e8b\u306b\u3066\u7d39\u4ecb\u3057\u3066\u3044\u308bApex\u30b3\u30fc\u30c9\u306f\u3042\u304f\u307e\u3067\u3082\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u306a\u308a\u307e\u3059\u3002\u904b\u7528\u7d44\u7e54\u4e0a\u3067\u4f7f\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u3001\u5341\u5206\u306b\u52d5\u4f5c\u78ba\u8a8d\u306a\u3069\u3092\u304a\u3053\u306a\u3063\u305f\u3046\u3048\u3067\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<h2>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u6a5f\u80fd\u306b\u3064\u3044\u3066<\/h2>\n<p>\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u30e1\u30fc\u30eb\u53d7\u4fe1\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u304d\u3063\u304b\u3051\u306b\u3042\u3089\u304b\u3058\u3081\u6307\u5b9a\u3057\u305fApex\u30b3\u30fc\u30c9\u304c\u8d77\u52d5\u3057\u3001\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u306e\u89e3\u6790\u3084\u5185\u5bb9\u306b\u5fdc\u3058\u305f\u30a2\u30af\u30b7\u30e7\u30f3\uff08\u30c7\u30fc\u30bf\u767b\u9332\u306a\u3069\uff09\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p>\u30e1\u30fc\u30eb\u53d7\u4fe1\u6642\u306b\u8d77\u52d5\u3055\u305b\u308bApex\u30af\u30e9\u30b9\u306f\u5fc5\u305a\u300c<strong>Messaging.InboundEmailHandler<\/strong>\u300d\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u5b9f\u88c5\u3057\u3066\u304a\u304b\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2>\u30ea\u30fc\u30c9\u30c7\u30fc\u30bf\u3092\u767b\u9332\u3059\u308b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u306e\u4f5c\u6210\u65b9\u6cd5<\/h2>\n<p>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u6a5f\u80fd\u3092\u5229\u7528\u3057\u305f\u3001\u30ea\u30fc\u30c9\u30c7\u30fc\u30bf\u767b\u9332\u6a5f\u80fd\u306e\u4f5c\u6210\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>\u624b\u98061. Apex\u30af\u30e9\u30b9\u3092\u4f5c\u6210<\/h3>\n<p>\u4f5c\u6210\u3059\u308b\u30af\u30e9\u30b9\u306f<\/p>\n<ul>\n<li>\u30e1\u30fc\u30eb\u672c\u6587\u89e3\u6790\u7528\u30af\u30e9\u30b9<\/li>\n<li>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u7528\u30af\u30e9\u30b9<br \/>\n \uff08Messaging.InboundEmailHandler \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u5b9f\u88c5\u30af\u30e9\u30b9\uff09<\/li>\n<\/ul>\n<p>\u306e2\u3064\u3067\u3059\uff08\u30af\u30e9\u30b9\u30922\u3064\u306b\u5206\u3051\u3066\u3044\u308b\u306e\u306f\u3001\u5c11\u3057\u306e\u5909\u66f4\u3067\u30ea\u30fc\u30c9\u30c7\u30fc\u30bf\u767b\u9332\u4ee5\u5916\u306b\u3082\u5bfe\u5fdc\u3057\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u3067\u3059\uff09\u3002<\/p>\n<p><strong>\u30e1\u30fc\u30eb\u672c\u6587\u89e3\u6790\u7528\u30af\u30e9\u30b9 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/strong><\/p>\n<p><pre class=\"brush: java; html-script: true; title: ; notranslate\" title=\"\">&lt;br \/&gt; public class ConverterToSObjectFromMailbody {&lt;\/p&gt; &lt;p&gt; public static final Integer MAX_MAILBODY_LENGTH = 50000; \/\/\u30e1\u30fc\u30eb\u672c\u6587\u306e\u6700\u5927\u8a31\u5bb9\u6587\u5b57\u6570&lt;br \/&gt; public static final Integer MAX_MAILBODY_NUMOFLINE = 1000; \/\/\u30e1\u30fc\u30eb\u672c\u6587\u306e\u6700\u5927\u8a31\u5bb9\u884c\u6570&lt;br \/&gt; private static final String REG_KEYWORD = '\\\\&#x5B;.*\\\\]';&lt;br \/&gt; private static final Pattern PTN_KEYWORD = Pattern.compile\uff08REG_KEYWORD\uff09;&lt;\/p&gt; &lt;p&gt; public Boolean throwInvalidField = false; \/\/\u3053\u308c\u3092true\u306b\u3059\u308b\u3068\u9805\u76ee\u306e\u5909\u63db\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u3067\u3082\u4f8b\u5916\u3092\u6295\u3052\u308b&lt;\/p&gt; &lt;p&gt; private String objectName;&lt;br \/&gt; @TestVisible&lt;br \/&gt; private Map&lt;String, FieldInfo&gt; fieldMap;&lt;br \/&gt; public ConverterToSObjectFromMailbody\uff08String objectName\uff09{&lt;br \/&gt; this.objectName = objectName;&lt;br \/&gt; this.fieldMap = getFieldMap\uff08\uff09;&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; public class ConvertException extends Exception{&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; public class KeyWordInfo{&lt;br \/&gt; public String word{ get; set; }&lt;br \/&gt; public Integer num{ get; set; }&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; public class FieldInfo{&lt;br \/&gt; public String name{ get; set; }&lt;br \/&gt; public DisplayType type{ get; set; }&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; public SObject parseMailBodyToSObject\uff08 List&lt;String&gt; fieldNames , String body \uff09{&lt;\/p&gt; &lt;p&gt; if\uff08body.length\uff08\uff09 &gt; MAX_MAILBODY_LENGTH\uff09{&lt;br \/&gt; throw new ConvertException\uff08String.format\uff08'\u672c\u6587\u6587\u5b57\u6570\u304c {0} \u3092\u8d8a\u3048\u3066\u3044\u307e\u3059' , new String&#x5B;]{String.valueOf\uff08MAX_MAILBODY_LENGTH\uff09} \uff09\uff09;&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; List&lt;String&gt; rows = body.split\uff08'\\n'\uff09;&lt;br \/&gt; if\uff08rows.size\uff08\uff09 &gt; MAX_MAILBODY_NUMOFLINE\uff09{&lt;br \/&gt; throw new ConvertException\uff08String.format\uff08'\u672c\u6587\u884c\u6570\u304c {0} \u3092\u8d8a\u3048\u3066\u3044\u307e\u3059' , new String&#x5B;]{String.valueOf\uff08MAX_MAILBODY_NUMOFLINE\uff09} \uff09\uff09;&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; Set&lt;String&gt; keywordSet = new Set&lt;String&gt;\uff08\uff09;&lt;br \/&gt; Map&lt;String, FieldInfo&gt; keywordMap = new Map&lt;String, FieldInfo&gt;\uff08\uff09;&lt;br \/&gt; for\uff08String n : fieldNames\uff09{&lt;br \/&gt; FieldInfo f = fieldMap.get\uff08n\uff09;&lt;br \/&gt; if\uff08f != null\uff09{&lt;br \/&gt; String keyword = '&#x5B;' + n + ']';&lt;br \/&gt; system.debug\uff08'keyword : ' + keyword\uff09;&lt;br \/&gt; keywordSet.add\uff08 keyword \uff09;&lt;br \/&gt; keywordMap.put\uff08 keyword , f \uff09;&lt;br \/&gt; }&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; KeyWordInfo prevKeyword = null;&lt;br \/&gt; KeyWordInfo nextKeyword = null;&lt;br \/&gt; SObject resultSObject = createDefaultSObject\uff08\uff09;&lt;\/p&gt; &lt;p&gt; prevKeyword = findKeyword\uff08 keywordSet , rows , 0\uff09;&lt;br \/&gt; if\uff08prevKeyword.num &lt; 0\uff09{ return resultSObject; } while\uff08true\uff09{ keywordSet.remove\uff08 prevKeyword.word \uff09; nextKeyword = findKeyword\uff08 keywordSet , rows , prevKeyword.num+1\uff09; FieldInfo f = keywordMap.get\uff08prevKeyword.word\uff09; system.debug\uff08'prev : '+ prevKeyword\uff09; system.debug\uff08'next : '+ nextKeyword\uff09; String value = findValue\uff08prevKeyword.num+1 , nextKeyword.num-1 , rows\uff09; Object realValue = convertValue\uff08 value , f \uff09; if\uff08realValue != null || f.type != DisplayType.Boolean\uff09{ \/\/\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u578b\u306e\u9805\u76ee\u3092\u660e\u793a\u7684\u306bNull\u6307\u5b9a\u3059\u308b\u3068\u66f4\u65b0\u6642\u306b\u4f8b\u5916\u304c\u767a\u751f\u3059\u308b\u306e\u3067\u8a2d\u5b9a\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b resultSObject.put\uff08 f.name , convertValue\uff08 value , f \uff09\uff09; } if\uff08nextKeyword.num &gt;= rows.size\uff08\uff09\uff09{&lt;br \/&gt; break;&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; prevKeyword = nextKeyword;&lt;\/p&gt; &lt;p&gt; }&lt;br \/&gt; return resultSObject;&lt;\/p&gt; &lt;p&gt; }&lt;\/p&gt; &lt;p&gt; private Map&lt;String, FieldInfo&gt; getFieldMap\uff08\uff09{&lt;br \/&gt; List&lt;SObjectField&gt; fieldList = Schema.getGlobalDescribe\uff08\uff09.get\uff08objectName\uff09.getDescribe\uff08\uff09.fields.getMap\uff08\uff09.values\uff08\uff09;&lt;br \/&gt; Map&lt;String, FieldInfo&gt; resultMap = new Map&lt;String, FieldInfo&gt;\uff08\uff09;&lt;br \/&gt; for\uff08 SObjectField s : fieldList\uff09{&lt;br \/&gt; DescribeFieldResult fResult = s.getDescribe\uff08\uff09;&lt;br \/&gt; FieldInfo info = new FieldInfo\uff08\uff09;&lt;br \/&gt; info.name = fResult.getName\uff08\uff09;&lt;br \/&gt; info.type = fResult.getType\uff08\uff09;&lt;br \/&gt; resultMap.put\uff08 fResult.getName\uff08\uff09 , info \uff09;&lt;br \/&gt; }&lt;br \/&gt; return resultMap;&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; private SObject createDefaultSObject\uff08\uff09{&lt;br \/&gt; return Schema.getGlobalDescribe\uff08\uff09.get\uff08objectName\uff09.newSObject\uff08\uff09 ;&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; private KeyWordInfo findKeyword\uff08 Set&lt;String&gt; keywords , List&lt;String&gt; rows , Integer index\uff09{&lt;\/p&gt; &lt;p&gt; KeyWordInfo k = new KeyWordInfo\uff08\uff09;&lt;br \/&gt; k.num = rows.size\uff08\uff09;&lt;br \/&gt; Integer i = index;&lt;br \/&gt; for\uff08 ; i &lt; rows.size\uff08\uff09 ; i++\uff09{ String l = rows.get\uff08i\uff09; Matcher matcher = PTN_KEYWORD.matcher\uff08l\uff09; if\uff08 matcher.find\uff08\uff09 \uff09{ String word = matcher.group\uff080\uff09; \/\/\u30ad\u30fc\u30ef\u30fc\u30c9\u90e8\u5206\u3092\u62bd\u51fa\u3057\u3066\u3001\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d if\uff08keywords.contains\uff08 word \uff09\uff09{ k.word = word; k.num = i; break; } } } return k; } private String findValue\uff08 Integer startIndex , Integer endIndex , List&lt;String&gt; rows \uff09{&lt;\/p&gt; &lt;p&gt; if\uff08startIndex &gt; endIndex\uff09{&lt;br \/&gt; return null;&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt; String resultValue = '';&lt;br \/&gt; for\uff08Integer i=startIndex ; i&lt;\uff08endIndex+1\uff09 ; i++\uff09{ system.debug\uff08'loop : ' + rows&#x5B;i]\uff09; resultValue += \uff08rows&#x5B;i] + '\\n'\uff09; } resultValue = resultValue.subString\uff080 , resultValue.length\uff08\uff09 - 1\uff09; return resultValue; } private Object convertValue\uff08String value , FieldInfo f \uff09{ if\uff08value == null\uff09{ return null; } String message = '\u5bfe\u8c61\u5916\u306e\u30c7\u30fc\u30bf\u578b Name='+f.name + ' Type='+f.type + ' Value=' + value; DisplayType dType = f.type; if\uff08dType == DisplayType.Double || \/\/\u5c0f\u6570 dType == DisplayType.Currency|| \/\/\u901a\u8ca8 dType == DisplayType.Percent \uff09{ \/\/\u30d1\u30fc\u30bb\u30f3\u30c8 try{ Double doubleRes = Double.valueOf\uff08value\uff09; return doubleRes; }catch\uff08TypeException e\uff09{ message = '\u5c0f\u6570\u578b\u306e\u5024\u5909\u63db\u6642\u306b\u30a8\u30e9\u30fc Name='+f.name + ' Type='+f.type + ' Value=' + value; } }else if\uff08dType == DisplayType.Integer\uff09{ \/\/\u6574\u6570 try{ Integer integerRes = Integer.valueOf\uff08value\uff09; return integerRes; }catch\uff08TypeException e\uff09{ message = '\u6574\u6570\u578b\u306e\u5024\u5909\u63db\u6642\u306b\u30a8\u30e9\u30fc Name='+f.name + ' Type='+f.type + ' Value=' + value; } }else if\uff08 dType == DisplayType.Boolean\uff09{ \/\/\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9 String lower = value.toLowerCase\uff08\uff09; if\uff08 lower == 'true' \uff09{ return true; }else if\uff08lower == 'false' \uff09{ return false; } }else if\uff08dType == DisplayType.Date\uff09{\/\/\u65e5\u4ed8 \/\/\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c yyyy\/mm\/dd \/\/\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0 try{ Date dateRes = Date.valueOf\uff08value.replaceAll\uff08'\/','-'\uff09\uff09; return dateRes; }catch\uff08TypeException e\uff09{ message = '\u65e5\u4ed8\u578b\u306e\u5024\u5909\u63db\u6642\u306b\u30a8\u30e9\u30fc Name='+f.name + ' Type='+f.type + ' Value=' + value; } }else if\uff08dType == DisplayType.DateTime\uff09{ \/\/\u65e5\u4ed8\u6642\u9593 \/\/\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c yyyy\/mm\/dd hh:mm:ss \/\/\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0 try{ Datetime datetimeRes = Datetime.valueOf\uff08value.replaceAll\uff08'\/','-'\uff09\uff09; return datetimeRes; }catch\uff08TypeException e\uff09{ message = '\u65e5\u4ed8\u6642\u9593\u578b\u306e\u5024\u5909\u63db\u6642\u306b\u30a8\u30e9\u30fc Name='+f.name + ' Type='+f.type + ' Value=' + value; } }else if\uff08 dType == DisplayType.Email || \/\/\u30e1\u30fc\u30eb dType == DisplayType.MultiPicklist || \/\/\u9078\u629e\u30ea\u30b9\u30c8\uff08\u8907\u6570\uff09 dType == DisplayType.Picklist || \/\/\u9078\u629e\u30ea\u30b9\u30c8 dType == DisplayType.Phone || \/\/\u96fb\u8a71 dType == DisplayType.String || \/\/\u30c6\u30ad\u30b9\u30c8 dType == DisplayType.TextArea || \/\/\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2 dType == DisplayType.URL \uff09{ \/\/URL return value; } if\uff08throwInvalidField\uff09{ throw new ConvertException\uff08message\uff09; } system.debug\uff08 message \uff09; return null; } } <\/pre>\n<p> <strong>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u7528\u30af\u30e9\u30b9 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/strong><\/p>\n<p><pre class=\"brush: java; html-script: true; title: ; notranslate\" title=\"\">&lt;br \/&gt; global class MailServiceToCreateLead implements Messaging.InboundEmailHandler {&lt;\/p&gt; &lt;p&gt; \/**&lt;br \/&gt; * \u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30a8\u30f3\u30c8\u30ea\u30dd\u30a4\u30f3\u30c8&lt;br \/&gt; * \u30e1\u30fc\u30eb\u60c5\u5831\u3092\u53d7\u3051\u53d6\u3063\u3066\u958b\u59cb\u3059\u308b&lt;br \/&gt; *\/&lt;br \/&gt; global Messaging.InboundEmailResult handleInboundEmail\uff08Messaging.InboundEmail email, Messaging.InboundEnvelope envelope\uff09 {&lt;\/p&gt; &lt;p&gt; Messaging.InboundEmailResult result = new Messaging.InboundEmailresult\uff08\uff09;&lt;\/p&gt; &lt;p&gt; \/\/\u30e1\u30fc\u30eb\u672c\u6587\u306b\u8a18\u8f09\u3055\u308c\u308b\u60f3\u5b9a\u306e\u9805\u76ee&lt;br \/&gt; List&lt;String&gt; PARSE_FIELD = new List&lt;String&gt;{&lt;br \/&gt; Lead.Company.getDescribe\uff08\uff09.getName\uff08\uff09 , \/\/\u4f1a\u793e\u540d&lt;br \/&gt; Lead.LastName.getDescribe\uff08\uff09.getName\uff08\uff09 , \/\/\u59d3&lt;br \/&gt; Lead.FirstName.getDescribe\uff08\uff09.getName\uff08\uff09, \/\/\u540d&lt;br \/&gt; Lead.Phone.getDescribe\uff08\uff09.getName\uff08\uff09, \/\/\u96fb\u8a71\u756a\u53f7&lt;br \/&gt; Lead.Email.getDescribe\uff08\uff09.getName\uff08\uff09, \/\/\u30e1\u30fc\u30eb&lt;br \/&gt; Lead.PostalCode.getDescribe\uff08\uff09.getName\uff08\uff09,\/\/\u90f5\u4fbf\u756a\u53f7&lt;br \/&gt; Lead.State.getDescribe\uff08\uff09.getName\uff08\uff09, \/\/\u90fd\u9053\u5e9c\u770c&lt;br \/&gt; Lead.City.getDescribe\uff08\uff09.getName\uff08\uff09, \/\/\u5e02\u533a\u90e1&lt;br \/&gt; Lead.Street.getDescribe\uff08\uff09.getName\uff08\uff09, \/\/\u753a\u540d\u756a\u5730&lt;br \/&gt; Lead.LeadSource.getDescribe\uff08\uff09.getName\uff08\uff09 \/\/\u30ea\u30fc\u30c9\u30bd\u30fc\u30b9&lt;br \/&gt; };&lt;\/p&gt; &lt;p&gt; String body = email.plainTextBody;&lt;br \/&gt; result.success = true;&lt;br \/&gt; ConverterToSObjectFromMailbody converter = new ConverterToSObjectFromMailbody\uff08'Lead'\uff09;&lt;br \/&gt; try{&lt;br \/&gt; \/\/\u30e1\u30fc\u30eb\u672c\u6587\u3092\u89e3\u6790\u3057\u3066\u30ea\u30fc\u30c9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210&lt;br \/&gt; Lead l = \uff08Lead\uff09converter.parseMailBodyToSObject\uff08 PARSE_FIELD , body\uff09;&lt;br \/&gt; \/\/insert&lt;br \/&gt; insert l;&lt;br \/&gt; }catch\uff08Exception e\uff09{&lt;br \/&gt; \/\/\u4f55\u304b\u3057\u3089\u4f8b\u5916\u767a\u751f\u6642\u306e\u901a\u77e5\u6587\u9762&lt;br \/&gt; \/\/\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u306e\u300creply-to\u300d\u306b\u6307\u5b9a\u3057\u305f\u30a2\u30c9\u30ec\u30b9\u306b\u5bfe\u3057\u3066\u9001\u4fe1\u3055\u308c\u308b\uff08\u672a\u6307\u5b9a\u306e\u5834\u5408\u306ffrom\uff09&lt;br \/&gt; result.message = '\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u51e6\u7406\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\\n';&lt;br \/&gt; result.message += '\\n';&lt;br \/&gt; result.message += '\u3010\u5143\u30e1\u30fc\u30eb\u3011\\n';&lt;br \/&gt; result.message += body ;&lt;br \/&gt; result.message += '\\n';&lt;br \/&gt; result.message += '\u3010\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3011\\n';&lt;br \/&gt; result.message += e.getMessage\uff08\uff09;&lt;br \/&gt; result.success = false;&lt;br \/&gt; }&lt;br \/&gt; return result;&lt;br \/&gt; }&lt;\/p&gt; &lt;p&gt;}&lt;br \/&gt; <\/pre>\n<\/p>\n<p>\u5fc5\u305a\u30e1\u30fc\u30eb\u672c\u6587\u89e3\u6790\u7528\u30af\u30e9\u30b9 \u2192 \u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u7528\u30af\u30e9\u30b9 \u306e\u9806\u3067\u4f5c\u6210\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u624b\u98062. \u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u3092\u4f5c\u6210<\/h3>\n<p>[\u8a2d\u5b9a] | [\u30d3\u30eb\u30c9] | [\u958b\u767a] | [\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9] \u3092\u9078\u629e\u3057\u3001[\u65b0\u898f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9]\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<div id=\"attachment_5382\" style=\"width: 697px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/1_20140911_ngy_blog.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5382\" class=\"size-large wp-image-5382\" src=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/1_20140911_ngy_blog-687x480.png\" alt=\"\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7\u753b\u9762\" width=\"687\" height=\"480\" \/><\/a><p id=\"caption-attachment-5382\" class=\"wp-caption-text\">\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7\u753b\u9762<\/p><\/div>\n<p>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u8a2d\u5b9a\u753b\u9762\u306b\u9077\u79fb\u3059\u308b\u306e\u3067\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e\u901a\u308a\u8a2d\u5b9a\u3002<\/p>\n<ul>\n<li>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u540d\uff1a<br \/>\n \u2192\u3000&#8221;\u4efb\u610f\u306e\u540d\u79f0&#8221;<\/li>\n<li>Apex\u30af\u30e9\u30b9\uff1a<br \/>\n \u2192\u3000&#8221;\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u7528\u30af\u30e9\u30b9&#8221;<\/li>\n<li>\u6709\u52b9\uff1a<br \/>\n \u2192\u3000\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u308b<\/li>\n<\/ul>\n<p>\u203b\u4ed6\u306e\u8a2d\u5b9a\u306b\u95a2\u3057\u3066\u306f\u3001\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u9069\u5b9c\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\uff08<a href=\"https:\/\/help.salesforce.com\/HTViewHelpDoc?id=code_email_services_editing.htm&amp;language=ja\" target=\"_blank\" rel=\"noopener\">\u8a73\u7d30<\/a>\uff09\u3002<\/p>\n<p>\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001[\u4fdd\u5b58 &amp; \u65b0\u898f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9]\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<div id=\"attachment_5383\" style=\"width: 697px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/2_20140911_ngy_blog.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5383\" class=\"size-large wp-image-5383\" src=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/2_20140911_ngy_blog-687x506.png\" alt=\"\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u8a2d\u5b9a\u753b\u9762\" width=\"687\" height=\"506\" \/><\/a><p id=\"caption-attachment-5383\" class=\"wp-caption-text\">\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u8a2d\u5b9a\u753b\u9762<\/p><\/div>\n<p>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u7528\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u753b\u9762\u306b\u9077\u79fb\u3059\u308b\u306e\u3067\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u30ed\u30fc\u30ab\u30eb\u90e8\u5206\uff08@\u3088\u308a\u3082\u524d\u306e\u90e8\u5206\uff09\u3068\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u5b9f\u884c\u6642\u306e\u30e6\u30fc\u30b6\u3092\u6307\u5b9a\u3057\u307e\u3059\uff08<a href=\"https:\/\/help.salesforce.com\/HTViewHelpDoc?id=code_email_service_address.htm&amp;language=ja\" target=\"_blank\" rel=\"noopener\">\u8a73\u7d30<\/a>\uff09\u3002<\/p>\n<p>\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001[\u4fdd\u5b58]\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<div id=\"attachment_5393\" style=\"width: 697px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/3_20140911_ngy_blog_2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5393\" class=\"size-large wp-image-5393\" src=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/3_20140911_ngy_blog_2-687x361.png\" alt=\"\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u7528\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u753b\u9762\" width=\"687\" height=\"361\" \/><\/a><p id=\"caption-attachment-5393\" class=\"wp-caption-text\">\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u7528\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u753b\u9762<\/p><\/div>\n<p>\u4f5c\u6210\u3057\u305f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u306e\u78ba\u8a8d\u753b\u9762\u306b\u9077\u79fb\u3057\u307e\u3059\u3002\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u308b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u53d7\u4fe1\u7528\u306e\u30a2\u30c9\u30ec\u30b9\u3082\u3053\u306e\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<div id=\"attachment_5385\" style=\"width: 697px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/4_20140911_ngy_blog.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5385\" class=\"size-large wp-image-5385\" src=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/4_20140911_ngy_blog-687x414.png\" alt=\"\u4f5c\u6210\u3057\u305f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u5185\u5bb9\u306e\u78ba\u8a8d \u8d64\u67a0\u3067\u56f2\u307e\u308c\u3066\u3044\u308b\u3068\u3053\u308d\u306b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u53d7\u4fe1\u7528\u306e\u30a2\u30c9\u30ec\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\" width=\"687\" height=\"414\" \/><\/a><p id=\"caption-attachment-5385\" class=\"wp-caption-text\">\u4f5c\u6210\u3057\u305f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u5185\u5bb9\u306e\u78ba\u8a8d\u3002\u8d64\u67a0\u3067\u56f2\u307e\u308c\u3066\u3044\u308b\u3068\u3053\u308d\u306b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u53d7\u4fe1\u7528\u306e\u30a2\u30c9\u30ec\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p><\/div>\n<h3>\u624b\u98063. \u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<p>\u3053\u3053\u307e\u3067\u306e\u624b\u9806\u3067\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u306b\u3064\u3044\u3066\u306f\u4f5c\u6210\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\u305b\u3063\u304b\u304f\u3067\u3059\u306e\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u5185\u5bb9\u3067\u30e1\u30fc\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u5b9b\u5148<br \/>\n \u624b\u98062 \u3067\u81ea\u52d5\u4f5c\u6210\u3055\u308c\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9<\/li>\n<li>\u4ef6\u540d<br \/>\n \u4efb\u610f\uff08\u306a\u3093\u3067\u3082\u3088\u3044\uff09<\/li>\n<li>\u672c\u6587<br \/>\n [Company] \/\/\u4f1a\u793e\u540d<br \/>\n \u30b7\u30ca\u30b8\u30fc<br \/>\n [LastName] \/\/\u59d3<br \/>\n \u30c6\u30b9\u30c8<br \/>\n [FirstName] \/\/\u540d<br \/>\n \u592a\u90ce<br \/>\n [Phone] \/\/\u96fb\u8a71\u756a\u53f7<br \/>\n 06-8888-9999<br \/>\n [Email] \/\/\u30e1\u30fc\u30eb<br \/>\n test@synergy202.jp<br \/>\n [PostalCode] \/\/\u90f5\u4fbf\u756a\u53f7<br \/>\n 5300003<br \/>\n [State] \/\/\u90fd\u9053\u5e9c\u770c<br \/>\n \u5927\u962a\u5e9c<br \/>\n [City] \/\/\u5e02\u533a\u90e1<br \/>\n \u5927\u962a\u5e02<br \/>\n [Street] \/\/\u753a\u540d\u756a\u5730<br \/>\n \u5317\u533a\u5802\u5cf6<br \/>\n [LeadSource] \/\/\u30ea\u30fc\u30c9\u30bd\u30fc\u30b9<br \/>\n Web<\/li>\n<\/ul>\n<div id=\"attachment_5386\" style=\"width: 588px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/5_20140911_ngy_blog.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5386\" class=\"size-full wp-image-5386\" src=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/5_20140911_ngy_blog.png\" alt=\"\u753b\u50cf\u306fgmail\u3067\u306e\u4f8b\u3067\u3059\u3002 \u30e1\u30fc\u30eb\u3092\u9001\u308b\u3060\u3051\u306a\u306e\u3067gmail\u4ee5\u5916\u3082\u5229\u7528\u3067\u304d\u307e\u3059\" width=\"578\" height=\"582\" \/><\/a><p id=\"caption-attachment-5386\" class=\"wp-caption-text\">\u753b\u50cf\u306fGmail\u3067\u306e\u4f8b\u3067\u3059\u3002\u30e1\u30fc\u30eb\u3092\u9001\u308b\u3060\u3051\u306a\u306e\u3067Gmail\u4ee5\u5916\u3082\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p><\/div>\n<p>\u203b\u4eca\u56de\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u672c\u6587\u304c\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u3042\u308b\u3053\u3068\u524d\u63d0\u306b\u89e3\u6790\u51e6\u7406\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30fc\u30eb\u9001\u4fe1\u5f8c\u3001Salesforce\u4e0a\u306e\u30ea\u30fc\u30c9\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u6b63\u5e38\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<div id=\"attachment_5387\" style=\"width: 697px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/6_20140911_ngy_blog.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5387\" class=\"size-large wp-image-5387\" src=\"https:\/\/www.synergy-marketing.co.jp\/blog\/wp\/wp-content\/uploads\/2014\/09\/6_20140911_ngy_blog-687x514.png\" alt=\"\u30e1\u30fc\u30eb\u7d4c\u7531\u304b\u3089\u767b\u9332\u304c\u3067\u304d\u307e\u3057\u305f\uff01\" width=\"687\" height=\"514\" \/><\/a><p id=\"caption-attachment-5387\" class=\"wp-caption-text\">\u30e1\u30fc\u30eb\u7d4c\u7531\u304b\u3089\u767b\u9332\u304c\u3067\u304d\u307e\u3057\u305f\uff01<\/p><\/div>\n<h2>\u6ce8\u610f\u4e8b\u9805\u306a\u3069<\/h2>\n<p>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u4e0a\u3067\u306e\u6ce8\u610f\u4e8b\u9805\u3092\u5217\u6319\u3057\u307e\u3059<\/p>\n<ul>\n<li>\u30ac\u30d0\u30ca\u5236\u9650\uff1a<br \/>\n \u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u306b\u3082\u3053\u306e\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002\u7d44\u7e54\u5358\u4f4d\u306724\u6642\u9593\u4ee5\u5185\u306e\u5229\u7528\u53ef\u80fd\u6570\u304c\u6c7a\u3081\u3089\u308c\u3066\u304a\u308a\u3001\u305d\u306e\u6570\u5024\u306f\u300c<strong>\u30e6\u30fc\u30b6\u30e9\u30a4\u30bb\u30f3\u30b9\u6570 x 1,000<\/strong>\u300d\u3060\u305d\u3046\u3067\u3059\u3002<\/li>\n<li>\u51e6\u7406\u5931\u6557\u6642\u306e\u6319\u52d5\uff1a<br \/>\n \u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u306e\u51e6\u7406\u3067\u4f55\u3089\u304b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001\u300cMessaging.InboundEmailresult\u300d\u30af\u30e9\u30b9\u306b\u30a8\u30e9\u30fc\u6587\u8a00\u3092\u8a2d\u5b9a\u3057\u3066 success \u5909\u6570\u3092 false \u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30a8\u30e9\u30fc\u5185\u5bb9\u3092\u30e1\u30fc\u30eb\u3067\u901a\u77e5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u306e\u901a\u77e5\u5148\u306f\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u3078\u306e\u30e1\u30fc\u30eb\u306e\u9001\u308a\u4e3b\uff08from\uff09\u3068\u306a\u308a\u307e\u3059\uff08reply-to\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u305d\u3061\u3089\u306b\u9001\u3089\u308c\u308b\uff09\u3002<\/li>\n<li>\u5fdc\u7528\uff1a<br \/>\n \u3053\u306e\u4ed5\u7d44\u307f\u3092\u5fdc\u7528\u3059\u308c\u3070\u30e1\u30fc\u30eb\u7d4c\u7531\u3067\u300c<a href=\"https:\/\/help.salesforce.com\/HTViewHelpDoc?id=notes.htm&amp;language=ja\" target=\"_blank\" rel=\"noopener\">\u30e1\u30e2 &amp; \u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb<\/a>\u300d\u306b\u30c7\u30fc\u30bf\u3092\u767b\u9332\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u304b\u3068\u601d\u3044\u307e\u3059\uff01\u305c\u3072\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce\u306b\u306f\u6a19\u6e96\u3067\u300cWeb-to-\u30ea\u30fc\u30c9\u300d\u3084\u300c\u30e1\u30fc\u30eb-to-\u30b1\u30fc\u30b9\u300d\u306a\u3069\u6570\u3005\u306e\u30c1\u30e3\u30cd\u30eb\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u8fbc\u3080\u624b\u6bb5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4e2d\u3067\u3082\u30e1\u30fc\u30eb-to-\u30b1\u30fc\u30b9\u306f\u3001\u30e1\u30fc\u30eb\u3068\u3044\u3046\u89aa\u3057\u307f\u6df1\u3044\u3082\u306e\u3092\u5229\u7528\u3057\u3066\u304a\u308a\u3001\u624b\u8efd\u306b&#8230;<\/p>\n","protected":false},"author":99,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6084","post","type-post","status-publish","format-standard","hentry","category-salesforce"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/posts\/6084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/users\/99"}],"replies":[{"embeddable":true,"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=6084"}],"version-history":[{"count":4,"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/posts\/6084\/revisions"}],"predecessor-version":[{"id":14097,"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/posts\/6084\/revisions\/14097"}],"wp:attachment":[{"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=6084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=6084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.synergy-marketing.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=6084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}