My specific requirement is to synchronize activated user data to Pardot via webhooks. The current issue is that the webhook payload and the fields configured on the Pardot side do not match.
Is there any plugin that can achieve this transformation?
My specific requirement is to synchronize activated user data to Pardot via webhooks. The current issue is that the webhook payload and the fields configured on the Pardot side do not match.
Is there any plugin that can achieve this transformation?
perhaps one can use zapier integration
If you don’t want to use something like zapier then you’d need a custom plugin.
The requirement was temporarily met through an intermediate conversion layer. However, this should not be the best practice. It would be great if Discourse natively supported defining the push data format.
You either need to call an existing API or create a new one with a plugin. Discourse cannot be expected to accept every data format in existence, can it?
Perhaps you could use Discourse Jira as an example, though that might be overkill.
What I mean is, for each corresponding event’s push data, add field configuration mapping, for example, user.id => user_id, and whether to flatten the data structure (all JSON becomes a 1-level structure, no nesting). For example, the data for a user confirmation email event is as follows (simplified):
{
"user": {
"id": 1,
"username": "jack",
"name": "jack 2026"
}
}
Select to flatten the data structure, and then configure the mapping for each field (this might require a very long form).
user.id => user_id
user.username => username
user.name => name
The data structure actually pushed after configuration is as follows:
{
"user_id": 1,
"username": "jack",
"name": "jack 2026"
}
Of course, this can be set as an advanced configuration, which people who don’t need it can completely ignore.