Overview
This step-by-step guide will show you how to create a powerful workflow with webMethods.io Integration. This workflow automatically sends a notification to your chosen Webex Teams space whenever a new Stripe customer is created.
Prerequisite
- webMethods.io Integration tenant – sign up here for a free trial if you’re new (use the advanced sign up form for more options).
- Cisco Webex Teams account
- Stripe account
Steps
- Login to your webMethods.io Integration tenant, create a new project or choose an existing one and create a blank workflow. If you need a refresher on how to get to this point, this guide can be a great introduction.
- To set up a trigger action, click on the small setting icon on the Start step and choose the Stripe trigger.
Select New customer and complete the authorization – connect webMethods.io Integration with your Stripe account. You need to provide an API key - you can find it in the Developers settings in your Stripe account under the API keys tab.
Click Save. You should see the test trigger window.
To test your trigger, you need to perform the trigger action. Open your Stripe instance and add a new customer:
Go back to the webMethods.io Integration workflow and click Test. You should see the output data from the trigger which webMethods.io Integration will use to configure and test the rest of the workflow. Click Done.
Add the Cisco Webex Teams connector to the canvas with the drag and drop feature. This automatically connects with the previous step
Click on the small settings icon on the Cisco Webex Teams connector, select Post new message as action and complete the authorization – connect webMethods.io Integration with your Cisco Webex Teams account.
Now you can proceed with the action configuration – choose the Space ID where you want to post the message. Type the message body – use the Incoming data panel to include customer information received from the trigger output, for example:
New customer in Stripe:
Email - {{$trigger.email}}
First and last name - {{$trigger.name}}
Click Next and then Done.
- Connect the Cisco Webex Teams connector to the Stop step. Don’t forget to save your workflow.
You can now run the workflow using the play button in the right upper corner and review the result. If you have configured the workflow correctly, you should see the newly created message in your Cisco Webex Teams space:
- At the bottom-left corner of the screen you can find the Execution history of the workflow:
From here you can monitor the executions status and view error details if needed:
Please note that workflow execution logs must be enabled from the workflow execution settings: