panoratech / Panora

One API to connect your data sources to your LLMs
https://docs.panora.dev
Apache License 2.0
919 stars 187 forks source link

feat: Add integration with: LeadSquared (CRM) #649

Open rflihxyz opened 2 months ago

rflihxyz commented 2 months ago

What type of software do you want to build integrations with?

CRM

Which specific platforms would you integrate with?

LeadSquared

Which specific objects would you integrate with?

Do you anticipate to mostly read, or write data?

Read and write

Please share any detail you want here

Documentation: https://apidocs.leadsquared.com/overview/#api

Iamsidar07 commented 2 months ago

@rflihxyz Can you assign this to me. I want to work into this.

Iamsidar07 commented 2 months ago

@rflihxyz leadsquired does not exist in metadata.

naelob commented 2 months ago

@Iamsidar07 Yes true ! Im going to do it

Iamsidar07 commented 2 months ago

@naelob Can I work on objects ? I have an integrated task object.

Iamsidar07 commented 2 months ago

@Iamsidar07 Yes true ! Im going to do it

I tried to make it. I hope it will help you.

API docs

'leadsquared': {
        scopes: '',
        urls: {
          docsUrl: 'https://apidocs.leadsquared.com/overview/#api',
          apiUrl: 'https://api-us11.leadsquared.com',
        },
        logoPath: 'https://www.leadsquared.com/wp-content/uploads/2023/12/340-x-156-300x138-1.png',
        description: 'Sync & Create contacts, deals, engagements and tasks',
        authStrategy: {
          strategy: AuthStrategy.api_key,
          authStructure: [
            {
              headerParamName: 'x-LSQ-AccessKey',
              valueName: 'access_token',
            },
            {
              headerParamName: 'x-LSQ-SecretKey',
              valueName: 'secret_token',
            },
          ],
          properties: ['access_token', 'secret_token']
        },
        active: false
      }

It requires to pass access_token and secret_token in header.

image