1
Create a custom code Action
- Go to the Logic sidebar and click on the Actions tab.
- Click
+ Add New Action
. - Give it a name like “Send Data to Telegra MD”.
- Hit
Add
.
2
Write your custom code
- Add code similar to the example below, to construct the data object and send it to Telegra MD’s API.
3
Add a Trigger for the relevant user event
- Switch to the Triggers tab.
- Add a new Trigger.
- Choose the event that you want to trigger the Action on.
- For example:
WHEN Page KEY email_page IS Completed
.
- For example:
- Select the
Send Data to Telegra MD
Action. - Hit
Add
.
Learn more about Custom Code
Read more about writing Custom Code in Embeddables, including all the
available arguments passed in to the function.