Decision Journal is an app for keeping track of and improving your decision making.
Go to siteThe Decision Journal API allows for the systematic tracking of decisions over time, providing a structured way to log and evaluate past choices. By integrating with Pipedream, users can automate workflows to capture decisions from various sources, set reminders for review, analyze decision patterns, and sync with other productivity tools. This supports improved decision-making processes and personal growth.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
decision_journal: {
type: "app",
app: "decision_journal",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.decisionjournalapp.com/v1/decisions`,
headers: {
Authorization: `Bearer ${this.decision_journal.$auth.oauth_access_token}`,
},
})
},
})
Automated Decision Capture from Emails: Set up a workflow that monitors your email inbox for messages with a specific subject line or keyword that indicates a decision. Use Pipedream's built-in email trigger to parse the content and automatically log it as a new decision in your Decision Journal.
Scheduled Decision Reviews: Create a recurring workflow that sends you a reminder to review past decisions. The trigger can be a scheduled event in Pipedream, which then fetches decisions from the Decision Journal based on the date and sends a summary via Slack, email, or another preferred communication app.
Decision Analysis and Reporting: Design a workflow that periodically collects decision data from Decision Journal, analyzes trends or patterns using a Python or JavaScript code step, and generates a report. The report can be sent to Google Sheets for further analysis or visualization, or pushed to a dashboard app like Geckoboard.
Emit new event when a new decision is created. See the documentation
Creates a new decision in the Decision Journal. See the documentation
Creates a review for a decision in Decision Journal. See the documentation
Decision Journal uses OAuth authentication. When you connect your Decision Journal account, Pipedream will open a popup window where you can sign into Decision Journal and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Decision Journal API.
Pipedream requests the following authorization scopes when you connect your account:
all:read
all:write
GET
https://dashboard.decisionjournalapp.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://api.decisionjournalapp.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://api.decisionjournalapp.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}