Skip to content

Utilities

This free app provides generic utility actions that can come in useful in any bird. It includes utilities for dates and files.

Connecting

  1. Navigate to apps and search for Utilities.
  2. Click Add Connection.
  3. Name your connection for future reference e.g. ‘My utilities’.
  4. Click Connect.

1700129917822

Actions

Dates

  • Generate date generates the date and time at the moment of execution. Optionally, you can add or subtract days, hours and minutes. Useful for setting deadlines in the future or for generating time intervals for querying data. Optionally, you can also add your own value for date. The new generated date will be relative to this date.
  • Format date takes a date and formats it into a human readable string. The selectable format documentation can be found here. Optionally a culture (locale) can be added as well.
  • Get date difference returns the difference between the two inputted days in total seconds, minutes, hours and days.
  • Convert text to date Converts text input to date. Optionally a culture (locale) can be specified.

Files

  • Get file character count returns number of characters in the file (supported file types: doc, docx, txt, pdf).
  • Get file word count returns number of words in the file (supported file types: doc, docx, txt, pdf).
  • Get files word count returns number of words in the files (supported file types: doc, docx, txt, pdf).
  • Get file name information returns the name of a file, with or without extension, and the extension.
  • Change file name takes a file and a text input. The filename (without extension) is renamed and the file is returned as output.
  • Sanitize file name removes any defined characters from a file name (without extension).
  • Get file size returns the size of a file in bytes.
  • Replace using Regex in document works only with text based files (txt, html, etc.). This action is similar to ‘Replace using Regex’ but works with files.
  • Extract using Regex from document extract text from a document using Regex. This works only with text based files (txt, html, etc.) and is similar to ‘Extract using Regex’ but works with files.
  • Unzip files takes a ZIP archive and extracts the files inside into multiple files in Blackbird.

XML Files

  • Bump version string Bump version string.
  • Get XML file property Get XML file property.
  • Change XML file property Change XML file property.

Texts

  • Count characters in text returns number of chracters in text.
  • Count words in text returns number of words in text.
  • Sanitize text removes any defined characters from a text.
  • Extract using Regex returns the first match from the provided text using a Regular Expression as input.
  • Extract many using Regex returns all matches from the provided text using a Regular Expression as input.
  • Replace using Regex use Regular Expressions to search and replace within text
  • Convert text to document Converts text to txt, doc or docx document.
  • Convert document to text Extracts document’s text. Document must be in docx/doc, pdf or txt format.
  • Calculate BLEU Score Metric used to evaluate the quality of machine-translated text by comparing it to a referenced text.

Arrays

  • Array contains checks if an array contains a certain entry.
  • Deduplicate Array Returns only unique elements.
  • Array count counts the number of elements in an array.
  • Remove entry from array returns the array without the specified entry.
  • Get first entry from array returns the first element in the array.
  • Get last entry from array returns the last element in the array.
  • Get entry by position returns the element in the specified position within the array. Initial position is 1.
  • Retain specified entries in array returns the original array without the entries that were not present in the provided control group (entries to keep).

Numbers

  • Generate Range Generate a range by providing start and end numbers.

Scraping

  • Extract web page content Get raw and unformatted content from a URL as text.
  • Extract HTML content Get raw and unformatted content from an HTML file.

Context

  • Get flight context allows you to get context data from the flight. This includes Flight ID and URL, Bird ID and name and Nest ID and name.

Events

Rss

  • On RSS feed changed triggers when specified RSS feed received new updates.

Feedback

Do you want to use this app or do you have feedback on our implementation? Reach out to us using the established channels or create an issue.