Make.com: testing TimelinesAI modules
You’ve successfully connected your TimelinesAI account with Make.com and created triggering and action modules using our application. The next critical step is testing these modules for two key reasons:
Ensure Modules Function as Intended
Obtain Payload Data for Use in Other Modules
We recommend two types of testing:
End-to-End Flow Testing
This straightforward approach involves activating the entire scenario and initiating it by completing an action that triggers the flow. This process will execute all modules and confirm that the entire flow operates correctly. We will not focus on this type of testing in this guide, as it is fairly simple. We do recommend to run this testing at least once before you release your scenario to production.
Individual Module Testing
This method involves running each module within the flow separately. This is particularly useful in the initial stages of flow building when you need to gather payload data to continue developing the flow or to troubleshoot it. We do recommend to run this testing with each module you add.
Open your scenario in Make.com.
Locate the desired TimelinesAI for WhatsApp trigger module that you want to test.
Right-click on the module.
Select Run this module only.
The module will enter waiting mode, and a loader will start spinning.
While the module is waiting, perform the action that triggers the event. For example, if the trigger is set to "Watch new sent messages," send a message to any contact from your WhatsApp number.
Once the event is successfully triggered, the module's icon in Make.com will display a counter.
Click on the counter to view the payload received from the event. The output section will show the payload data, which you can use in other modules within your flow.
Open your scenario in Make.com.
Locate the desired TimelinesAI for WhatsApp action module that you want to test.
Right-click on the module.
Select Run this module only.
If your module does not contain any variables, it will automatically execute the action and display the results.
However, if your module does contain variables (e.g., a chatID from previous modules), you will be prompted to provide those values. For instance, if the module requires a chatID to send a message, you'll need to manually input the chatID before running the module.
Keep in mind that running the module will trigger the actual action. For example, if you’re testing a WhatsApp message sending, the message WILL be sent. To avoid unintended consequences, do NOT use real customer data during module testing.
Once the action is successfully executed, the results will be displayed in a separate box. The output section will show either the execution results (if successful) or an error message (if there’s an issue).
Ensure Modules Function as Intended
Obtain Payload Data for Use in Other Modules
We recommend two types of testing:
End-to-End Flow Testing
This straightforward approach involves activating the entire scenario and initiating it by completing an action that triggers the flow. This process will execute all modules and confirm that the entire flow operates correctly. We will not focus on this type of testing in this guide, as it is fairly simple. We do recommend to run this testing at least once before you release your scenario to production.
Individual Module Testing
This method involves running each module within the flow separately. This is particularly useful in the initial stages of flow building when you need to gather payload data to continue developing the flow or to troubleshoot it. We do recommend to run this testing with each module you add.
Individual Module Testing: for triggering modules
Open your scenario in Make.com.
Locate the desired TimelinesAI for WhatsApp trigger module that you want to test.
Right-click on the module.
Select Run this module only.
The module will enter waiting mode, and a loader will start spinning.
While the module is waiting, perform the action that triggers the event. For example, if the trigger is set to "Watch new sent messages," send a message to any contact from your WhatsApp number.
Once the event is successfully triggered, the module's icon in Make.com will display a counter.
Click on the counter to view the payload received from the event. The output section will show the payload data, which you can use in other modules within your flow.
Individual Module Testing: for action modules
Open your scenario in Make.com.
Locate the desired TimelinesAI for WhatsApp action module that you want to test.
Right-click on the module.
Select Run this module only.
If your module does not contain any variables, it will automatically execute the action and display the results.
However, if your module does contain variables (e.g., a chatID from previous modules), you will be prompted to provide those values. For instance, if the module requires a chatID to send a message, you'll need to manually input the chatID before running the module.
Keep in mind that running the module will trigger the actual action. For example, if you’re testing a WhatsApp message sending, the message WILL be sent. To avoid unintended consequences, do NOT use real customer data during module testing.
Once the action is successfully executed, the results will be displayed in a separate box. The output section will show either the execution results (if successful) or an error message (if there’s an issue).
Updated on: 28/10/2024
Thank you!