with Bidsketch and Formatting?
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Bidsketch API offers a gateway to streamline your proposal creation and management process. It empowers users to automate the drafting of proposals, maintain client data, and track proposal statuses without the manual hassle. With Pipedream, you can connect Bidsketch to a multitude of other apps, crafting workflows that trigger actions based on events such as proposal acceptance or comment additions, thus ensuring timely follow-ups and efficient client interaction.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bidsketch: {
type: "app",
app: "bidsketch",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://bidsketch.com/api/v1/clients`,
headers: {
"Authorization": `Token token=${this.bidsketch.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})