question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Refactor] Clearbit Actions

See original GitHub issue

Is there a specific app this action is for? clearbit

Please provide a link to the relevant API docs for the specific service / operation. https://dashboard.clearbit.com/docs#enrichment-api-company-api-domain-lookup

Clearbit currently returns a 404 when no records are found. Can we catch this case and add a prop that lets the user decide whether they want to handle this as an error or not? For example:

errorIfNoRecords: {
  type: "boolean",
  label: "Handle lack of records found as an error?",
  description: "Defaults to `false`. If no records are found, the step will still be considered a success. If `false`, the step will return an error and workflow execution will stop."
  optional: true,
  default: false
}

Please also add a $summary message and remove the // legacy hash_id comment at the top of each action once the refactor is complete.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
vellamescommented, May 18, 2022

@dannyroosevelt I will refactor all other actions in order to standardize these actions. Sounds good?

0reactions
dannyrooseveltcommented, Jun 16, 2022

This is ready for release!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clearbit Action Block - Ada Resource Center
The Clearbit action block helps you to connect to the Clearbit API without having to write code. Clearbit is a data API that...
Read more >
Clean Code 2: More Tips for Writing Clear and Concise Code
You'll learn about the important skill of refactoring your code, and how unit tests can help you safely refactor. Whatever language you're programming...
Read more >
Best Application Development Software for Clearbit - SourceForge
Compare the best Application Development software for Clearbit of 2022. ... Build Web and Mobile Apps - Add actions and events with powerful...
Read more >
Clearbit API Documentation For Developers
Lastly we'll give you an overall risk score which you can use to take action, such as making suspicious signups complete additional steps...
Read more >
3D Printer With Updated Board * PrintrBot 1403 X Recore/Refactor ...
3D Printer With Updated Board * PrintrBot 1403 X Recore/Refactor! ... setting up macros for particular start/stop actions in the Klipper source or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found