Where can I check the webhook error log? | Community
Skip to main content
勝之_新保
New Participant
August 15, 2018
Solved

Where can I check the webhook error log?

  • August 15, 2018
  • 1 reply
  • 4320 views

Webhook start in smart campaigns when we sent mail to a user.

Use a Webhook in a Smart Campaign - Marketo Docs - Product Documentation

So I set webhook, and I sent a test mail to a user.

But webhook don't start.

Where can I check the error log?

And can I test whether it works correctly with only webhook?

In japanese.

スマートキャンペーンでメール送信後にwebhookを起動するようにしています。

ドキュメントをみて設定しましたが、動いていないみたいです。

webhookが動いていない時、どこからエラーのログを見ることができますか?

またwebhookのみで正しく動くかどうかのテストを行うことができますか?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Where can I check the error log?

There's no central error log for webhooks.

Look at the Smart Campaign's Results tab, or in the Activity Log for a lead who has run through the SC.

When you click on the Activity ID (the left-hand column) you'll see the details of what was sent and received by the webhook: the exact payload, with token values instead of {{my.}} or {{lead.}} token names.

And can I test whether it works correctly with only webhook?

Add a a trigger for Campaign is Requested. Then run Request Campaign for the lead(s).

I hope you're not trying to call a webhook on every Sent Email trigger. Most instances cannot handle such overhead.  How many times are you expecting to call the webhook each day, and what is the average response time (roundtrip time) of a call to the external service?

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
August 15, 2018

Where can I check the error log?

There's no central error log for webhooks.

Look at the Smart Campaign's Results tab, or in the Activity Log for a lead who has run through the SC.

When you click on the Activity ID (the left-hand column) you'll see the details of what was sent and received by the webhook: the exact payload, with token values instead of {{my.}} or {{lead.}} token names.

And can I test whether it works correctly with only webhook?

Add a a trigger for Campaign is Requested. Then run Request Campaign for the lead(s).

I hope you're not trying to call a webhook on every Sent Email trigger. Most instances cannot handle such overhead.  How many times are you expecting to call the webhook each day, and what is the average response time (roundtrip time) of a call to the external service?

勝之_新保
New Participant
August 16, 2018

I have misunderstood our purpose.

Actually, I want to get the user's action data such as  after we send email.

So I want to start webhook and other api and so on not when we sent mail to a user but  when a user who be sent mail open it.

We use both types "Trigger Smart Campaign and Batch Smart Campaign".

Please tell me how to set by each.

In japanese.

何をしたいのかを勘違いしていました。

正しくは、メール送付後のユーザーのデータを取得したいです。

だからメール送付後ではなく、メールを開封したときにwebhookかなにかを起動させたい。

スマートキャンペーンの種類はトリガーとバッチです。

それぞれでそれの設定を教えてください。

SanfordWhiteman
New Participant
August 16, 2018

OK, triggering on Open is more sensible than on Sent.

You can't fire webhooks directly from batch campaigns. You have to use the Request Campaign flow step in a batch. The requested campaign will be a separate trigger campaign, that trigger campaign triggering on Campaign is Requested.

What do you mean by "and other API"?

Why don't you explain exactly what you're trying to accomplish, in detail?