bytechef icon indicating copy to clipboard operation
bytechef copied to clipboard

Nutshell - Create Lead action

Open monikakuster opened this issue 1 year ago • 2 comments

The Create Lead action for the Nutshell component adds a new lead record to a user's Nutshell CRM account.

Action properties:

  • name - the name of the new lead
  • assignee - The ID of the user the lead is assigned to

Ouput:

  • lead - the newly created lead object

Documentation Reference: https://developers.nutshell.com/reference/post_accounts

monikakuster avatar Oct 02 '24 16:10 monikakuster

can you please describe the issue, that is what should be done?

Sanketpatil27 avatar Oct 02 '24 16:10 Sanketpatil27

Hey @Sanketpatil27. I updated the desctription for the issue.

If you are new to Bytechef, please read our CONTRIBUTING.md

This part describes how to create new component or how to add new action or trigger to existing one.

Here is the detailed description of the structure of every component.

And finally, to test your action, here is the guide.

monikakuster avatar Oct 03 '24 09:10 monikakuster

Hello @monikakuster ! I would like to work on this issue

kalai4eng avatar Oct 05 '24 09:10 kalai4eng

Hey, @kalai4eng welcome to Bytechef :)

monikakuster avatar Oct 05 '24 09:10 monikakuster

Hey @monikakuster ! quick query !

In issue its mentioned as https://developers.nutshell.com/reference/post_accounts for reference API ! Is this a typo instead of https://developers.nutshell.com/reference/post_leads-2 to create Lead ?

If yes , as per documentation they don't have support to add name & assignee directly.

i) For name => description (Which will be considered as name & description) ii) For Assignee => Should i go ahead and add as custom field , assuming the customer will create that custom field ?

Or Am is missing something here ! please guide on the same . Thanks

kalai4eng avatar Oct 07 '24 14:10 kalai4eng

Hey @monikakuster ! quick query !

In issue its mentioned as https://developers.nutshell.com/reference/post_accounts for reference API ! Is this a typo instead of https://developers.nutshell.com/reference/post_leads-2 to create Lead ?

If yes , as per documentation they don't have support to add name & assignee directly.

i) For name => description (Which will be considered as name & description) ii) For Assignee => Should i go ahead and add as custom field , assuming the customer will create that custom field ?

Or Am is missing something here ! please guide on the same . Thanks

Whoops, sorry about that. I've updated the issue description. Regarding your question, the assignee is actually owner within the links object.

monikakuster avatar Oct 07 '24 15:10 monikakuster

Hey @monikakuster ! quick query

For Assignee/Owner: Which option best suits in our use case

Direct User Input (Pass assigneeId as freestyle string): Allow the user to directly to pass the assigneeId .

User Selection from a List: Present a list of users from which they can select an assignee

kalai4eng avatar Oct 09 '24 19:10 kalai4eng

@kalai4eng, I recommend going with the second option. This approach ensures that users can only select from a predefined list of valid users.

monikakuster avatar Oct 10 '24 05:10 monikakuster