Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Highlighted

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

What I like with this model is that you can even automatically prevent the form from rendering and replace it with a message if the counter is over the threashold.

-Greg

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

That is the best part!

Done with a simple read-only counter endpoint that I'm folding into FB (Standard, won't need Pro even though technically there is a database behind it).

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Okay. Woosh! [Over my head sound.]

The way the program currently functions:

- User registers through form.

- Webhook is called by a campaign under that program.

- Event capacity is pulled from a program specific my.token and submitted along with program ID through the webhook and is set in an SQL table (new event) or reset (event that we increased capacity for) or remains the same (event already exists in the table with the same capacity).

- External application checks to see if capacity is met or exceeded. (It checks if its been exceeded in case there are multiple simultaneous submissions when the event is about to reach capacity and there are actually more registrants than intended.)

- If it's met or exceeded, the external application updates tokens that control the visibility of the form (becomes invisible) and "event is closed" message on the page (becomes visible.)

I'd like to send an alert to an e-mail address(es), ideally configurable in a program token, when the external application closes the event.

I'm probably going to go with "Whiteman Option Number 3" because I want to create templates that our Marketing and Sales teams can just replicate. I guess they'll have to populate that program ID manually in the campaign that sends the alert since the campaign can't just pull in a token under "webhook is called".

To be honest though, I'm not clear on the whole "resource lead" thing. For every event there's a lead that represents the event and I store the person who should be notified as well as the number of registrants for the event on that lead in some fields? Is that it? And then I create a program which periodically checks those leads and sends a notification based on whatever criteria?

How do you create those leads each time? (Or is that done manually?)

I searched Product Docs and the community for posts. Nothing in Product Docs and the few community posts I found don't provide a lot of specifics.

I'd prefer to keep everything contained within a given program even if it means the user has to populate data points which I'd prefer be tokenized.

[Unplugs his smart TV.]

Anonymous
Not applicable

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

Hi Osman ,

If you provide more token of program like {{program.status}} , {{program.type}},{{program.starttime}},{{program.endtime}} . means while creating webhook only {{program.id}},{{program.name}},{{program.description}} is there , so you will provide more token , then it is useful for webhook triggering .

Thanks

Anil Kumar Nayak

Re: Webhook is Called - Response Contains: {{program.id}} or {{my.tokens}}?

None of this makes a global trigger aware of the Program context.