ProfitWell#
ProfitWell provides real-time subscription financial metrics.
Credentials
You can find authentication information for this node here.
Basic Operations#
- Company
- Get your companys ProfitWell account settings
- Metric
- Retrieve financial metric broken down by day for either the current month or the last
Example Usage#
This workflow allows you to send financial metrics monthly to a Mattermost channel. You can also find the workflow on n8n.io. This example usage workflow uses the following nodes. - Cron - ProfitWell - Mattermost
The final workflow should look like the following image.
1. Cron node#
The Cron node will trigger the workflow on the first day of every month at 9 AM.
- Click on Add Cron Time.
- Select 'Every Month' from the Mode dropdown list.
- Set hours to 9 in the Hour field.
- Click on Execute Node to run the node.
In the screenshot below, you will notice that the Cron node is configured to trigger the workflow on the first day of every month at 9 AM.
2. ProfitWell node (get: metric)#
This node will return monthly financial metrics.
- First of all, you'll have to enter credentials for the ProfitWell node. You can find out how to do that here.
- Select 'Monthly' from the Type dropdown list.
- Click on Execute Node to run the node.
In the screenshot below, you will notice that the node returns montly financial metrics.
3. Mattermost node (post: message)#
This node will send a message with the metrics that we get from the previous node in the 'Monthly Metrics' channel in Mattermost. If you have a different channel, use that instead.
-
First of all, you'll have to enter credentials for the Mattermost node. You can find out how to do that here.
-
Select a channel from the Channel ID dropdown list.
- Click on the gears icon next to the Message field and click on Add Expression.
- Enter the following message in the Expression field:
1 2 3 4 5
Active Customers: {{$node["ProfitWell"].json["active_customers"]}} Trailing Customers: {{$node["ProfitWell"].json["active_trialing_customers"]}} New Customers: {{$node["ProfitWell"].json["new_customers"]}} Growth Rate: {{$node["ProfitWell"].json["growth_rate"]}} Recurring Revenue: {{$node["ProfitWell"].json["recurring_revenue"]}}
- Click on Execute Node to run the node.
In the screenshot below, you will notice that the node sends a message with the metrics that we get from the previous node.
Activate workflow for production
This example workflow uses the Cron node, which is a Trigger node. You'll need to save the workflow and then click on the Activate toggle on the top right of the screen to activate the workflow. Your workflow will then be triggered as specified by the settings in the Cron node.