Postman is an API parsing tool
Sign-up to Postman: https://www.postman.com/
Download the desktop app: https://www.postman.com/downloads/?utm_source=postman-home
Open Postman and sign-in
Click New
Click HTTP
Choose POST from this drop down
Add the following URL to the URL field:
PRODUCTION: https://marketicevent.webuildgreat.software/triggerexternalevent
TEST : https://marketicevent.webuildgreatsoftware.co.za/externalevent
Click on Params to add
- externalSourceID
- eventID
How to find the External Source ID and Event ID for your automation:
- Login to engAIge
- Click on Settings
- Click on View All under Data Sources
- Use the search functionality to find the external source
- Click on more
- Click on Analytics
- Click on Events
- Click on the automation name you are wanting to test
When you have the view as shown below, click in the URL bar on the browser.
Here you can find you externalSourceID and eventID
For example:
externalSourceID: 656731f17299530001e9bbad
eventID: 6677237d-2930-488e-9756-dc3bbba136af
Go back to Postman, and can add these to the parameters in your POST statement on Postman
Click on Body and ensure raw is selected
- Add a payload like the example below.
{
"customerName": "Kira",
"emailAddress": "silversurfer@mailinator.com",
"msisdn": "0825633259",
"toEmail": "kira.francis@ignitiongroup.co.za",
"fromEmail": "info@ignitiongroup.co.za",
"sms":"kira SMS11231",
"head1":"Head1",
"body1":"body1",
"body2":"body2",
"body3":"body3",
"body4":"body4",
"date":"23-01-24",
"amount":"299"
}
The important part of this payload is the msisdn as this is where the test WhatsApp message will be sent.
Save the POST statement
Click Send
A 200 OK response will show and the number provided in the msisdn field will receive the test WhatsApp message