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


A screenshot of a computer

Description automatically generated

Click HTTP

A screenshot of a computer

Description automatically generated

Choose POST from this drop down


A screenshot of a computer

Description automatically generated A screenshot of a computer

Description automatically generated

 

Add the following URL to the URL field: 

PRODUCTIONhttps://marketicevent.webuildgreat.software/triggerexternalevent

TEST : https://marketicevent.webuildgreatsoftware.co.za/externalevent

 

A screenshot of a computer

Description automatically generated

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

A screenshot of a computer

Description automatically generated

  • Click on View All under Data Sources

A screenshot of a phone

Description automatically generated

  • Use the search functionality to find the external source

  • Click on more
  • Click on Analytics

A white square with black text and a pink marker

Description automatically generated

  • Click on Events

A white rectangular object with a black border

Description automatically generated

  • Click on the automation name you are wanting to test

A screenshot of a computer

Description automatically generated

When you have the view as shown below, click in the URL bar on the browser. 

Here you can find you externalSourceID and eventID

 

A screenshot of a computer

Description automatically generated

 

For example:

externalSourceID: 656731f17299530001e9bbad

eventID: 6677237d-2930-488e-9756-dc3bbba136af

https://marketic.webuildgreatsoftware.co.za/externalsource/656731f17299530001e9bbad/events/6677237d-2930-488e-9756-dc3bbba136af/kiraemoji/External_event_received/actions

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

 

 

  1. 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

A screenshot of a computer

Description automatically generated

 Click Send

200 OK response will show and the number provided in the msisdn field will receive the test WhatsApp message


A screenshot of a computer

Description automatically generated