Updated: October 11, 2024

Business Goal

The Business Goal feature in Enji allows users to set a project objective, gather data through a webhook, accumulate it, and visualize the progress to track the process dynamically and make timely business decisions.

Project Management

A clear business goal helps a team work effectively by providing a purpose for its activities. This goal is configured individually for each project in Enji. To do this, go to Enji -> Projects -> Project. Then, navigate to the Business Goals tab.

Users can filter the chart by date and goal type. The chart displays the target goal (the red line) and actual daily results.

Adding a new Business Goal

A Business Goal allows users to handle data via a webhook. Click the Add Goal button. This will open the project editing form under the Business Goals tab. Click the "+" button to add a new goal.

Complete the following fields:

  • Type: Choose One-time if the goal has a final deadline. Select Weekly, Monthly, Quarterly, or Yearly if the goal should reset automatically after the specified period.
  • Goal Name: Enter a name for the goal.
  • Target Value: Specify the numeric target value to achieve.
  • Start Date: Enter the start date of the goal.
  • End Date: Enter the goal's deadline.

Click Save to implement the changes.

After saving, scroll down to find the automatically generated URLs for this goal:

  • Required URL: Use this URL to increase the goal's value by 1 with each request. This URL can be used in webhook settings or linked to a page or button. In any case, each request to this URL will increment the goal's value by 1.
  • Optional URL: This URL is used for testing. Modify the Count and Date parameters in the URL. For example, if count=30 and date=2024-07-01 are set in the URL, accessing https://example.enji.ai/api/v1/business_goal?goal_id=70&count=30&date=2024-07-01 will increase the goal value by 30 for July 1, 2024.