3
1

More than 3 years have passed since last update.

データ型が日付の項目をPardotにフォームハンドラー経由で放り込む方法

Posted at

はじめに

Pardotのプロスペクト項目にフォームハンドラー経由で
データ型が日付の値として入れたい項目があったので対応しました。

基本情報など

構成等

Pardotフォームを利用せず、フォームハンドラーを利用します。
サイト内フォーム → フォームハンドラー → Pardot → Salesforce(CRM)
の流れで情報を渡していく想定です。

<参考図>
qiita用図_20201216.png

日付の渡し方

  • yyyy-mm-ddの形でvalueをフォームハンドラーに渡します。
    • 月日部分は0埋めが必要です
  • 各項目での対応を表にするとこんな感じです。
種類 データ型 フォーマット
フォームのvalue なし(プレーンテキスト) yyyy-mm-dd
Pardotプロスペクト項目 日付 yyyy-mm-dd
Salesforceの項目 日付 yyyy-mm-dd

備考

同じ要領でドロップダウン項目の値なども
渡すvalueがドロップダウンの項目と合っていれば連携できます。

おわりに

Pardotでフォームハンドラーを使う方の参考になれば幸いです。

参考

フォームハンドラー
https://help.salesforce.com/articleView?id=pardot_form_handlers.htm&type=5

プロスペクト項目のデータ型
https://help.salesforce.com/articleView?id=pardot_field_types.htm&type=5

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1